mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities;
check_readonly(abilities, "clientCustom", abilities.clientCustom, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities;
check_readonly(abilities, "displayMode", abilities.displayMode, "object", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities;
check_readonly(abilities, "displayRotation", abilities.displayRotation, "object", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities;
check_extensibility(abilities);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities;
check_readonly(abilities, "mode360", abilities.mode360, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities;
check_readonly(abilities, "playbackPosition", abilities.playbackPosition, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities;
check_readonly(abilities, "playback", abilities.playback, "object", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities;
check_readonly(abilities, "playlist", abilities.playlist, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities;
check_readonly(abilities, "repeat", abilities.repeat, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities;
check_readonly(abilities, "search", abilities.search, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities;
check_readonly(abilities, "shuffle", abilities.shuffle, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
watchId = mcClient.addAbilityChangeListener(listener);
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities;
retValue = abilities.subscribe();
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities;
check_method_exists(abilities, "subscribe");
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
watchId = mcClient.addAbilityChangeListener(listener);
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities;
checkExtraArgument(abilities, "subscribe");
var mcServer, mcClient, mcServerInfo;
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
assert_throws({name: 'InvalidStateError'},
function () {
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities;
check_readonly(abilities, "subtitles", abilities.subtitles, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities;
retValue = abilities.unsubscribe();
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities;
check_method_exists(abilities, "unsubscribe");
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities;
checkExtraArgument(abilities, "unsubscribe");
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerChangeRequestPlaybackInfoCallback_onplaybackactionrequest</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerChangeRequestPlaybackInfoCallback_onplaybackactionrequest
+//==== LABEL Check if MediaControllerPlaybackInfoChangeCallback onplaybackactionrequest is called and if its arguments have proper type
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerChangeRequestPlaybackInfoCallback:onplaybackactionrequest M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA CBOA CBT
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), watchId = null, mcServer, mcClient, mcServerInfo, changeListener;
+
+t.step(function () {
+ add_result_callback(function(){
+ mcServer.playback.removeChangeRequestListener(watchId);
+ });
+ changeListener = {
+ onplaybackactionrequest: t.step_func(function(action, clientName) {
+ assert_type(action, "string", "action should be a string");
+ assert_equals(action, "NEXT", "action should be same as request");
+ assert_type(clientName, "string", "clientName should be a string");
+ assert_equals(clientName, mcServerInfo.name, "clientName should be correct");
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watchId = mcServer.playback.addChangeRequestListener(changeListener);
+ mcServerInfo.playback.sendPlaybackAction("NEXT");
+});
+
+</script>
+</body>
+</html>
setup({timeout: 30000});
-var t = async_test(document.title, {timeout: 30000}), watcherId, mcServer, mcClient, playlist, mcServerInfo, playbackRequestListener;
+var t = async_test(document.title, {timeout: 30000}), watchId, mcServer, mcClient, playlist, mcServerInfo, playbackRequestListener;
t.step(function () {
+ add_result_callback(function(){
+ mcServer.playback.removeChangeRequestListener(watchId);
+ });
playbackRequestListener = {
- onplaybackitemrequest: t.step_func(function(playlistName, index, state, position, clientName) {
+ onplaybackitemrequest: t.step_func(function(playlistName, index, action, position, clientName) {
assert_type(playlistName, "string", "playlistName should be a string");
assert_equals(playlistName, "list", "playlistName be requested to change");
assert_type(index, "string", "index should be a string");
assert_equals(index, "1", "index be requested to change");
- assert_type(state, "string", "state should be a string");
- assert_equals(state, "STOP", "state be requested to change");
+ assert_type(action, "string", "action should be a string");
+ assert_equals(action, "STOP", "action be requested to change");
assert_type(position, "long", "position should be a number");
assert_equals(position, 0, "position be requested to change");
assert_type(clientName, "string", "clientName should be a string");
assert_equals(clientName, mcServerInfo.name, "clientName should be correct");
- mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
t.done();
})
};
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- playlist = mcServer.createPlaylist("list");
- mcServer.savePlaylist(playlist);
- mcServer.updatePlaybackState("PLAY");
+ playlist = mcServer.playlists.createPlaylist("list");
+ mcServer.playlists.savePlaylist(playlist);
+ mcServer.playback.state = "PLAY";
mcServerInfo = mcClient.getLatestServerInfo();
- watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
-
- mcServerInfo.sendPlaybackItem("list", "1", "STOP", 0);
+ watchId = mcServer.playback.addChangeRequestListener(playbackRequestListener);
+ mcServerInfo.playlists.sendPlaybackItem("list", "1", "STOP", 0);
});
</script>
<!DOCTYPE html>
<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
+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.
limitations under the License.
Authors:
- Xiaoyan Qian <xy.qian@samsung.com>
Zhongyuan Yuan <zy123.yuan@samsung.com>
-->
setup({timeout: 30000});
-var t = async_test(document.title, {timeout: 30000}), watcherId, mcServer, mcClient, mcServerInfo, playbackRequestListener;
+var t = async_test(document.title, {timeout: 30000}), watchId, mcServer, mcClient, mcServerInfo, playbackRequestListener;
t.step(function () {
+ add_result_callback(function(){
+ mcServer.playback.removeChangeRequestListener(watchId);
+ });
playbackRequestListener = {
onplaybackpositionrequest: t.step_func(function(position, clientName) {
assert_type(position, "long", "position should be a number");
assert_equals(position, 120, "position be requested to change");
assert_type(clientName, "string", "clientName should be a string");
assert_equals(clientName, mcServerInfo.name, "clientName should be correct");
- mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
t.done();
})
};
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
- watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
- mcServerInfo.sendPlaybackPosition(120);
+ watchId = mcServer.playback.addChangeRequestListener(playbackRequestListener);
+ mcServerInfo.playback.sendPlaybackPosition(120);
});
</script>
Authors:
Zhongyuan Yuan <zy123.yuan@samsung.com>
+
-->
<html>
<head>
setup({timeout: 30000});
-var t = async_test(document.title, {timeout: 30000}), watcherId, mcServer, mcClient, mcServerInfo, playbackRequestListener;
+var t = async_test(document.title, {timeout: 30000}), watchId, mcServer, mcClient, mcServerInfo, playbackRequestListener;
t.step(function () {
+ add_result_callback(function(){
+ mcServer.playback.removeChangeRequestListener(watchId);
+ });
playbackRequestListener = {
onrepeatstaterequest: t.step_func(function(state, clientName) {
assert_type(state, "string", "repeatState should be a string");
assert_equals(state, "REPEAT_ALL", "repeatState be requested to change");
assert_type(clientName, "string", "clientName should be a string");
assert_equals(clientName, mcServerInfo.name, "clientName should be correct");
- mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
t.done();
})
};
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
- mcServer.updateRepeatState("REPEAT_OFF");
- watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
- mcServerInfo.sendRepeatState("REPEAT_ALL");
+ mcServer.playback.repeatState = "REPEAT_OFF";
+ watchId = mcServer.playback.addChangeRequestListener(playbackRequestListener);
+ mcServerInfo.playback.sendRepeatState("REPEAT_ALL");
});
</script>
<!DOCTYPE html>
<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
+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.
limitations under the License.
Authors:
- Xiaoyan Qian <xy.qian@samsung.com>
Zhongyuan Yuan <zy123.yuan@samsung.com>
+
-->
<html>
<head>
setup({timeout: 30000});
-var t = async_test(document.title, {timeout: 30000}), watcherId, mcServer, mcClient, mcServerInfo, playbackRequestListener, beforemode;
+var t = async_test(document.title, {timeout: 30000}), watchId, mcServer, mcClient, mcServerInfo, playbackRequestListener, beforemode;
t.step(function () {
+ add_result_callback(function(){
+ mcServer.playback.removeChangeRequestListener(watchId);
+ });
playbackRequestListener = {
onshufflemoderequest: t.step_func(function(mode, clientName) {
assert_type(mode, "boolean", "shuffleMode should be a boolean");
assert_equals(mode, !beforemode, "shuffleMode be requested to change");
assert_type(clientName, "string", "clientName should be a string");
assert_equals(clientName, mcServerInfo.name, "clientName should be correct");
- mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
t.done();
})
};
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
beforemode = mcServer.playbackInfo.shuffleMode;
- watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
- mcServerInfo.sendShuffleMode(!beforemode);
+ watchId = mcServer.playback.addChangeRequestListener(playbackRequestListener);
+ mcServerInfo.playback.sendShuffleMode(!beforemode);
});
</script>
var mcServer, mcClient, mcClientsInfoAll;
mcClient = tizen.mediacontroller.getClient();
mcServer = tizen.mediacontroller.createServer();
- mcServer.updatePlaybackState("PLAY");
mcClientsInfoAll = mcServer.getAllClientsInfo();
check_extensibility(mcClientsInfoAll[0]);
}, document.title);
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);
mcClient = tizen.mediacontroller.getClient();
mcClient.setCustomEventListener(listener);
mcServer = tizen.mediacontroller.createServer();
- mcServer.updatePlaybackState("PLAY");
mcClientsInfoAll = mcServer.getAllClientsInfo();
for (index = 0; index < mcClientsInfoAll.length; index++) {
t.step(function () {
mcClient = tizen.mediacontroller.getClient();
mcServer = tizen.mediacontroller.createServer();
- mcServer.updatePlaybackState("PLAY");
mcClientsInfoAll = mcServer.getAllClientsInfo();
successCallback = t.step_func(function () {
mcClient = tizen.mediacontroller.getClient();
mcServer = tizen.mediacontroller.createServer();
- mcServer.updatePlaybackState("PLAY");
mcClientsInfoAll = mcServer.getAllClientsInfo();
check_method_exists(mcClientsInfoAll[0], "sendEvent");
}, document.title);
mcClient = tizen.mediacontroller.getClient();
mcServer = tizen.mediacontroller.createServer();
- mcServer.updatePlaybackState("PLAY");
mcClientsInfoAll = mcServer.getAllClientsInfo();
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
mcClientsInfoAll[0].sendEvent();
test(function () {
mcClient = tizen.mediacontroller.getClient();
mcServer = tizen.mediacontroller.createServer();
- mcServer.updatePlaybackState("PLAY");
mcClientsInfoAll = mcServer.getAllClientsInfo();
conversionTable = getTypeConversionExceptions("functionObject", false);
t.step(function () {
mcClient = tizen.mediacontroller.getClient();
mcServer = tizen.mediacontroller.createServer();
- mcServer.updatePlaybackState("PLAY");
mcClientsInfoAll = mcServer.getAllClientsInfo();
incorrectCallback = {
});
mcServer = tizen.mediacontroller.createServer();
- mcServer.updatePlaybackState("PLAY");
mcClient = tizen.mediacontroller.getClient();
returnedValue = mcClient.findServers(onsuccessCB, onerrorCB);
});
</script>
</body>
-</html>
\ No newline at end of file
+</html>
t.step(function () {
mcServer = tizen.mediacontroller.createServer();
- mcServer.updatePlaybackState("PLAY");
mcClient = tizen.mediacontroller.getClient();
successCallback = t.step_func(function () {
</script>
</body>
-</html>
\ No newline at end of file
+</html>
});
mcServer = tizen.mediacontroller.createServer();
- mcServer.updatePlaybackState("PLAY");
mcClient = tizen.mediacontroller.getClient();
returnedValue = mcClient.findServers(onsuccessCB, onerrorCB);
});
</script>
</body>
-</html>
\ No newline at end of file
+</html>
});
mcServer = tizen.mediacontroller.createServer();
- mcServer.updatePlaybackState("PLAY");
mcClient = tizen.mediacontroller.getClient();
watchId = mcClient.addAbilityChangeListener(listener);
mcClient.findServers(findSuccessCB);
t.step(function () {
mcServer = tizen.mediacontroller.createServer();
- mcServer.updatePlaybackState("PLAY");
mcClient = tizen.mediacontroller.getClient();
successCallback = t.step_func(function () {
});
mcServer = tizen.mediacontroller.createServer();
- mcServer.updatePlaybackState("PLAY");
mcClient = tizen.mediacontroller.getClient();
watchId = mcClient.addAbilityChangeListener(listener);
mcClient.findServers(findSuccessCB);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
retValue = mcClient.getLatestServerInfo();
assert_type(retValue, "object", "retValue should be an object");
}, document.title);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
mcClient = tizen.mediacontroller.getClient();
retValue = mcClient.setCustomEventListener(listener);
mcServer = tizen.mediacontroller.createServer();
- mcServer.updatePlaybackState("PLAY");
mcClientsInfoAll = mcServer.getAllClientsInfo();
for (index = 0; index < mcClientsInfoAll.length; index++) {
mcClient = tizen.mediacontroller.getClient();
mcClient.setCustomEventListener(listener);
mcServer = tizen.mediacontroller.createServer();
- mcServer.updatePlaybackState("PLAY");
mcClientsInfoAll = mcServer.getAllClientsInfo();
for (index = 0; index < mcClientsInfoAll.length; index++) {
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
displayMode = mcServerInfo.abilities.displayMode;
check_readonly(displayMode, "croppedFull", displayMode.croppedFull, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_extensibility(mcServerInfo.abilities.displayMode);
}, document.title);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
displayMode = mcServerInfo.abilities.displayMode;
check_readonly(displayMode, "fullScreen", displayMode.fullScreen, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
displayMode = mcServerInfo.abilities.displayMode;
check_readonly(displayMode, "letterBox", displayMode.letterBox, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
displayMode = mcServerInfo.abilities.displayMode;
check_readonly(displayMode, "originSize", displayMode.originSize, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_method_exists(mcServerInfo.displayMode, "addModeChangeListener");
}, document.title);
var mcServer, mcClient, mcServerInfo, incorrectCallback, exceptionName, i, conversionTable;
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
conversionTable = getTypeConversionExceptions("object", false);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
incorrectListener = getListenerConversionExceptions(["onchange"]);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
mcServerInfo.displayMode.addModeChangeListener();
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_extensibility(mcServerInfo.displayMode);
}, document.title);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_method_exists(mcServerInfo.displayMode, "removeModeChangeListener");
}, document.title);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
try {
mcServerInfo.displayMode.removeModeChangeListener();
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
serverInfo = mcClient.getLatestServerInfo();
check_method_exists(serverInfo.displayMode, "sendRequest");
}, document.title);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
serverInfo = mcClient.getLatestServerInfo();
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
serverInfo.displayMode.sendRequest();
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
mode = mcServerInfo.displayMode;
check_readonly(mode, "type", mode.type, "string", "LETTER_BOX");
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_extensibility(mcServerInfo.abilities.displayRotation);
}, document.title);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
displayRotation = mcServerInfo.abilities.displayRotation;
check_readonly(displayRotation, "rotation180", displayRotation.rotation180, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
displayRotation = mcServerInfo.abilities.displayRotation;
check_readonly(displayRotation, "rotation270", displayRotation.rotation270, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
displayRotation = mcServerInfo.abilities.displayRotation;
check_readonly(displayRotation, "rotation90", displayRotation.rotation90, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
displayRotation = mcServerInfo.abilities.displayRotation;
check_readonly(displayRotation, "rotationNone", displayRotation.rotationNone, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_method_exists(mcServerInfo.displayRotation, "addDisplayRotationChangeListener");
}, document.title);
var mcServer, mcClient, mcServerInfo, incorrectCallback, exceptionName, i, conversionTable;
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
conversionTable = getTypeConversionExceptions("object", false);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
incorrectListener = getListenerConversionExceptions(["onchange"]);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
mcServerInfo.displayRotation.addDisplayRotationChangeListener();
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
rotation = mcServerInfo.displayRotation;
check_readonly(rotation, "displayRotation", rotation.displayRotation, "string", "ROTATION_90");
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_extensibility(mcServerInfo.displayRotation);
}, document.title);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_method_exists(mcServerInfo.displayRotation, "removeDisplayRotationChangeListener");
}, document.title);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
try {
mcServerInfo.displayRotation.removeDisplayRotationChangeListener();
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
serverInfo = mcClient.getLatestServerInfo();
check_method_exists(serverInfo.displayRotation, "sendRequest");
}, document.title);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
serverInfo = mcClient.getLatestServerInfo();
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
serverInfo.displayRotation.sendRequest();
t.step(function () {
add_result_callback(function () {
- mcServer.deletePlaylist("list");
+ mcServer.playlists.deletePlaylist("list");
});
successCallback = t.step_func(function (playlists) {
assert_type(playlists, "array", "invalid type of name");
t.done();
});
mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
- mcServer.savePlaylist(playlist);
- mcServer.getAllPlaylists(successCallback);
+ playlist = mcServer.playlists.createPlaylist("list");
+ mcServer.playlists.savePlaylist(playlist);
+ mcServer.playlists.getAllPlaylists(successCallback);
});
</script>
t.step(function () {
add_result_callback(function () {
- mcServer.deletePlaylist("list");
+ mcServer.playlists.deletePlaylist("list");
});
successCallback = t.step_func(function (items) {
assert_type(items, "array", "invalid type of items");
t.done();
});
mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
+ playlist = mcServer.playlists.createPlaylist("list");
playlist.addItem("index1", { title: "testTitle" });
- mcServer.savePlaylist(playlist);
+ mcServer.playlists.savePlaylist(playlist);
playlist.getItems(successCallback);
});
var mcServer, metadata;
mcServer = tizen.mediacontroller.createServer();
- metadata = mcServer.playbackInfo.metadata;
+ metadata = mcServer.playback.metadata;
check_attribute(metadata, "album", "", "string", "sampleTitle");
check_not_nullable(metadata, "album", "should not be null");
}, document.title);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
var mcServer, metadata;
mcServer = tizen.mediacontroller.createServer();
- metadata = mcServer.playbackInfo.metadata;
+ metadata = mcServer.playback.metadata;
check_attribute(metadata, "artist", "", "string", "sampleArtist");
check_not_nullable(metadata, "artist", "should not be null");
}, document.title);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
var mcServer, metadata;
mcServer = tizen.mediacontroller.createServer();
- metadata = mcServer.playbackInfo.metadata;
+ metadata = mcServer.playback.metadata;
check_attribute(metadata, "author", "", "string", "sampleAuthor");
check_not_nullable(metadata, "author", "should not be null");
}, document.title);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
var mcServer, metadata;
mcServer = tizen.mediacontroller.createServer();
- metadata = mcServer.playbackInfo.metadata;
+ metadata = mcServer.playback.metadata;
check_attribute(metadata, "copyright", "", "string", "sampleCopyright");
check_not_nullable(metadata, "copyright", "should not be null");
}, document.title);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
var mcServer, metadata;
mcServer = tizen.mediacontroller.createServer();
- metadata = mcServer.playbackInfo.metadata;
+ metadata = mcServer.playback.metadata;
check_attribute(metadata, "date", "", "string", "sampleDate");
check_not_nullable(metadata, "date", "should not be null");
}, document.title);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
var mcServer, metadata;
mcServer = tizen.mediacontroller.createServer();
- metadata = mcServer.playbackInfo.metadata;
+ metadata = mcServer.playback.metadata;
check_attribute(metadata, "description", "", "string", "sampleDescription");
check_not_nullable(metadata, "description", "should not be null");
}, document.title);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
var mcServer, metadata;
mcServer = tizen.mediacontroller.createServer();
- metadata = mcServer.playbackInfo.metadata;
+ metadata = mcServer.playback.metadata;
check_attribute(metadata, "duration", "", "string", "sampleDuration");
check_not_nullable(metadata, "duration", "should not be null");
}, document.title);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
var mcServer, metadata;
mcServer = tizen.mediacontroller.createServer();
- metadata = mcServer.playbackInfo.metadata;
+ metadata = mcServer.playback.metadata;
check_attribute(metadata, "episodeNumber", 0, "number", 1);
check_not_nullable(metadata, "episodeNumber", "should not be null");
}, document.title);
var mcServer, metadata;
mcServer = tizen.mediacontroller.createServer();
- metadata = mcServer.playbackInfo.metadata;
+ metadata = mcServer.playback.metadata;
check_attribute(metadata, "episodeTitle", null, "string", "test");
}, document.title);
var mcServer, metadata;
mcServer = tizen.mediacontroller.createServer();
- metadata = mcServer.playbackInfo.metadata;
+ metadata = mcServer.playback.metadata;
check_extensibility(metadata);
}, document.title);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
var mcServer, metadata;
mcServer = tizen.mediacontroller.createServer();
- metadata = mcServer.playbackInfo.metadata;
+ metadata = mcServer.playback.metadata;
check_attribute(metadata, "genre", "", "string", "sampleTitle");
check_not_nullable(metadata, "genre", "should not be null");
}, document.title);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
var mcServer, metadata;
mcServer = tizen.mediacontroller.createServer();
- metadata = mcServer.playbackInfo.metadata;
+ metadata = mcServer.playback.metadata;
check_attribute(metadata, "picture", "", "string", "samplePicture");
check_not_nullable(metadata, "picture", "should not be null");
}, document.title);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
var mcServer, metadata;
mcServer = tizen.mediacontroller.createServer();
- metadata = mcServer.playbackInfo.metadata;
+ metadata = mcServer.playback.metadata;
check_attribute(metadata, "resolutionHeight", 0, "number", 1);
check_not_nullable(metadata, "resolutionHeight", "should not be null");
}, document.title);
var mcServer, metadata;
mcServer = tizen.mediacontroller.createServer();
- metadata = mcServer.playbackInfo.metadata;
+ metadata = mcServer.playback.metadata;
check_attribute(metadata, "resolutionWidth", 0, "number", 1);
check_not_nullable(metadata, "resolutionWidth", "should not be null");
}, document.title);
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerMetadata_save</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerMetadata_save
+//==== LABEL Check if MediaControllerManager save method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerMetadata:save M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MNA MAST
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo, retVal;
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ mcServer.playback.metadata.title = "test";
+ retVal = mcServer.playback.metadata.save();
+ assert_equals(retVal, undefined, "save should return undefined");
+ assert_equals(mcServer.playback.metadata.title, "test", "invalid value of metadata");
+ assert_equals(mcServerInfo.playback.metadata.title, "test", "invalid value of metadata");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerMetadata_save_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerMetadata_save_exist
+//==== LABEL Check if MediaControllerMetadata save exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerMetadata:save M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer.playback.metadata, "save");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerMetadata_save_extra_argument</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerMetadata_save_extra_argument
+//==== LABEL Check using MediaControllerMetadata::save() method with extra argument
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerMetadata:save M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MNAEX
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ checkExtraArgument(mcServer.playback.metadata, "save");
+}, document.title);
+
+</script>
+</body>
+</html>
var mcServer, metadata;
mcServer = tizen.mediacontroller.createServer();
- metadata = mcServer.playbackInfo.metadata;
+ metadata = mcServer.playback.metadata;
check_attribute(metadata, "seasonNumber", 0, "number", 1);
check_not_nullable(metadata, "seasonNumber", "should not be null");
}, document.title);
var mcServer, metadata;
mcServer = tizen.mediacontroller.createServer();
- metadata = mcServer.playbackInfo.metadata;
+ metadata = mcServer.playback.metadata;
check_attribute(metadata, "seasonTitle", null, "string", "test");
}, document.title);
var mcServer, metadata;
mcServer = tizen.mediacontroller.createServer();
- metadata = mcServer.playbackInfo.metadata;
+ metadata = mcServer.playback.metadata;
check_attribute(metadata, "title", "", "string", "sampleTitle");
check_not_nullable(metadata, "title", "should not be null");
}, document.title);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
var mcServer, metadata;
mcServer = tizen.mediacontroller.createServer();
- metadata = mcServer.playbackInfo.metadata;
+ metadata = mcServer.playback.metadata;
check_attribute(metadata, "trackNum", "", "string", "sampleTrackNum");
check_not_nullable(metadata, "trackNum", "should not be null");
}, document.title);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_method_exists(mcServerInfo.mode360, "addModeChangeListener");
}, document.title);
var mcServer, mcClient, mcServerInfo, incorrectCallback, exceptionName, i, conversionTable;
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
conversionTable = getTypeConversionExceptions("object", false);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
incorrectListener = getListenerConversionExceptions(["onchange"]);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
mcServerInfo.mode360.addModeChangeListener();
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
mode = mcServerInfo.mode360;
check_readonly(mode, "enabled", mode.enabled, "boolean", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_extensibility(mcServerInfo.mode360);
}, document.title);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_method_exists(mcServerInfo.mode360, "removeModeChangeListener");
}, document.title);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
try {
mcServerInfo.mode360.removeModeChangeListener();
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
serverInfo = mcClient.getLatestServerInfo();
check_method_exists(serverInfo.mode360, "sendRequest");
}, document.title);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
serverInfo = mcClient.getLatestServerInfo();
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
serverInfo.mode360.sendRequest();
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities.playback;
check_extensibility(abilities);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities.playback;
check_readonly(abilities, "forward", abilities.forward, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities.playback;
check_readonly(abilities, "next", abilities.next, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities.playback;
check_readonly(abilities, "pause", abilities.pause, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities.playback;
check_readonly(abilities, "play", abilities.play, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities.playback;
check_readonly(abilities, "prev", abilities.prev, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities.playback;
check_readonly(abilities, "rewind", abilities.rewind, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities.playback;
check_readonly(abilities, "stop", abilities.stop, "string", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
abilities = mcServerInfo.abilities.playback;
check_readonly(abilities, "togglePlayPause", abilities.togglePlayPause, "string", null);
onmetadatachanged: t.step_func(function(metadata) {
assert_type(metadata, "object", "metadata should be an object");
assert_equals(JSON.stringify(metadata), JSON.stringify(beforedata), "metadata should be updated");
- mcServerInfo.removePlaybackInfoChangeListener(watcherId);
+ mcServerInfo.playback.removePlaybackInfoChangeListener(watcherId);
t.done();
})
};
mcServer = tizen.mediacontroller.createServer();
- beforedata = mcServer.playbackInfo.metadata;
+ beforedata = mcServer.playback.metadata;
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
- watcherId = mcServerInfo.addPlaybackInfoChangeListener(playbackListener);
+ watcherId = mcServerInfo.playback.addPlaybackInfoChangeListener(playbackListener);
beforedata.artist = "Artist Name";
- mcServer.updateMetadata(beforedata);
+ mcServer.playback.metadata.save();
});
</script>
</body>
-</html>
\ No newline at end of file
+</html>
assert_type(state, "string", "state should be a string");
assert_equals(state, "STOP", "state should be PLAY");
assert_type(position, "long", "position should be a long");
- mcServerInfo.removePlaybackInfoChangeListener(watcherId);
+ mcServerInfo.playback.removePlaybackInfoChangeListener(watcherId);
t.done();
})
};
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
- watcherId = mcServerInfo.addPlaybackInfoChangeListener(playbackListener);
- mcServer.updatePlaybackState("STOP");
+ mcServer.playback.state = "PLAY";
+ watcherId = mcServerInfo.playback.addPlaybackInfoChangeListener(playbackListener);
+ mcServer.playback.state = "STOP";
});
</script>
</body>
-</html>
\ No newline at end of file
+</html>
onrepeatstatechanged: t.step_func(function(state) {
assert_type(state, "string", "state should be a string");
assert_equals(state, "REPEAT_ALL", "state should be updated");
- mcServerInfo.removePlaybackInfoChangeListener(watcherId);
+ mcServerInfo.playback.removePlaybackInfoChangeListener(watcherId);
t.done();
})
};
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServer.updateRepeatState("REPEAT_OFF");
+ mcServer.playback.repeatState = "REPEAT_OFF";
mcServerInfo = mcClient.getLatestServerInfo();
- watcherId = mcServerInfo.addPlaybackInfoChangeListener(playbackListener);
- mcServer.updateRepeatState("REPEAT_ALL");
+ watcherId = mcServerInfo.playback.addPlaybackInfoChangeListener(playbackListener);
+ mcServer.playback.repeatState = "REPEAT_ALL";
});
</script>
onshufflemodechanged: t.step_func(function(mode) {
assert_type(mode, "boolean", "mode should be a boolean");
assert_equals(mode, !beforemode, "mode should be updated");
- mcServerInfo.removePlaybackInfoChangeListener(watcherId);
+ mcServerInfo.playback.removePlaybackInfoChangeListener(watcherId);
t.done();
})
};
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
- beforemode = mcServerInfo.playbackInfo.shuffleMode;
- watcherId = mcServerInfo.addPlaybackInfoChangeListener(playbackListener);
- mcServer.updateShuffleMode(!beforemode);
+ beforemode = mcServerInfo.playback.shuffleMode;
+ watcherId = mcServerInfo.playback.addPlaybackInfoChangeListener(playbackListener);
+ mcServer.playback.shuffleMode = !beforemode;
});
</script>
</body>
-</html>
\ No newline at end of file
+</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerPlaybackInfo_ageRating_attribute</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerPlaybackInfo_ageRating_attribute
-//==== LABEL Check if attribute ageRating of MediaControllerPlaybackInfo exists, has type string and is readonly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:ageRating A
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO AVL
-
-test(function () {
- var mcServer= tizen.mediacontroller.createServer();
- check_readonly(mcServer.playbackInfo, "ageRating", mcServer.playbackInfo.ageRating, "string", "20");
- assert_in_array(mcServer.playbackInfo.ageRating, ["ALL", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19"], "Incorrect value of type");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerPlaybackInfo_contentType_attribute</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerPlaybackInfo_contentType_attribute
-//==== LABEL Check if attribute contentType of MediaControllerPlaybackInfo exists, has type string and is readonly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:contentType A
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO AVL ADV
-
-test(function () {
- var mcServer= tizen.mediacontroller.createServer();
- assert_equals(mcServer.playbackInfo.contentType, "UNDECIDED", "invalid default value of contentType");
- check_readonly(mcServer.playbackInfo, "contentType", mcServer.playbackInfo.contentType, "string", "OTHER");
- assert_in_array(mcServer.playbackInfo.contentType, ["IMAGE", "MUSIC", "VIDEO", "OTHER", "UNDECIDED"], "Incorrect value of type");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerPlaybackInfo_extend</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerPlaybackInfo_extend
-//==== LABEL Check if MediaControllerPlaybackInfo object is extendable
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:MediaControllerPlaybackInfo U
-//==== SPEC_URL TBD
-//==== PRIORITY P3
-//==== TEST_CRITERIA NIO
-
-test(function () {
- var mcServer= tizen.mediacontroller.createServer();
- check_extensibility(mcServer.playbackInfo);
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerPlaybackInfo_index_attribute</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerPlaybackInfo_index_attribute
-//==== LABEL Check if attribute index of MediaControllerPlaybackInfo exists, has type string and is readonly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:index A
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-
-test(function () {
- var mcServer = tizen.mediacontroller.createServer();
- check_readonly(mcServer.playbackInfo, "index", mcServer.playbackInfo.index, "string", "A");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerPlaybackInfo_metadata_attribute</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerPlaybackInfo_metadata_attribute
-//==== LABEL Check if attribute metadata of MediaControllerPlaybackInfo exists, has type object and is readonly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:metadata A
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-
-test(function () {
- var mcServer= tizen.mediacontroller.createServer();
- check_readonly(mcServer.playbackInfo, "metadata", mcServer.playbackInfo.metadata, "object", null);
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerPlaybackInfo_notexist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerPlaybackInfo_notexist
-//==== LABEL Check if interface MediaControllerPlaybackInfo exists, it should not.
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:MediaControllerPlaybackInfo U
-//==== SPEC_URL TBD
-//==== PRIORITY P3
-//==== TEST_CRITERIA NIO
-
-test(function () {
- check_no_interface_object("MediaControllerPlaybackInfo");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerPlaybackInfo_playlistName_attribute</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerPlaybackInfo_playlistName_attribute
-//==== LABEL Check if attribute playlistName of MediaControllerPlaybackInfo exists, has type string and is readonly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:playlistName A
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-
-test(function () {
- var mcServer = tizen.mediacontroller.createServer();
- check_readonly(mcServer.playbackInfo, "playlistName", mcServer.playbackInfo.playlistName, "string", "A");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerPlaybackInfo_position_attribute</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerPlaybackInfo_position_attribute
-//==== LABEL Check if attribute position of MediaControllerPlaybackInfo exists, has type long and is readonly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:position A
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-
-test(function () {
- var mcServer= tizen.mediacontroller.createServer();
- check_readonly(mcServer.playbackInfo, "position", mcServer.playbackInfo.position, "long", 100);
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerPlaybackInfo_repeatState_attribute</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerPlaybackInfo_repeatState_attribute
-//==== LABEL Check if attribute repeatState of MediaControllerPlaybackInfo exists, has type string and is readonly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:repeatState A
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-
-test(function () {
- var mcServer, state;
-
- mcServer= tizen.mediacontroller.createServer();
- mcServer.updateRepeatState("REPEAT_OFF");
- state = mcServer.playbackInfo.repeatState;
- check_readonly(mcServer.playbackInfo, "repeatState", state, "string", "REPEAT_ALL");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerPlaybackInfo_shuffleMode_attribute</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerPlaybackInfo_shuffleMode_attribute
-//==== LABEL Check if attribute shuffleMode of MediaControllerPlaybackInfo exists, has type boolean and is readonly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:shuffleMode A
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-
-test(function () {
- var mcServer, beforemode;
-
- mcServer = tizen.mediacontroller.createServer();
- beforemode = mcServer.playbackInfo.shuffleMode;
- check_readonly(mcServer.playbackInfo, "shuffleMode", mcServer.playbackInfo.shuffleMode, "boolean", !beforemode);
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerPlaybackInfo_state_attribute</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerPlaybackInfo_state_attribute
-//==== LABEL Check if attribute state of MediaControllerPlaybackInfo exists, has type string and is readonly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:state A
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO AVL
-
-test(function () {
- var mcServer= tizen.mediacontroller.createServer();
- check_readonly(mcServer.playbackInfo, "state", mcServer.playbackInfo.state, "string", "FORWARD");
- assert_in_array(mcServer.playbackInfo.state, ["PLAY", "PAUSE", "STOP", "NEXT", "PREV", "FORWARD", "REWIND"], "Incorrect value of type");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
t.step(function () {
add_result_callback(function () {
- mcServer.deletePlaylist("list");
+ mcServer.playlists.deletePlaylist("list");
});
successCallback = t.step_func(function (items) {
});
mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
+ playlist = mcServer.playlists.createPlaylist("list");
playlist.addItem("index1", { title: "testTitle" });
- mcServer.savePlaylist(playlist);
+ mcServer.playlists.savePlaylist(playlist);
playlist.getItems(successCallback);
});
});
mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
+ playlist = mcServer.playlists.createPlaylist("list");
playlist.addItem("index1", { title: "testTitle" });
- mcServer.savePlaylist(playlist);
+ mcServer.playlists.savePlaylist(playlist);
playlist.getItems(successCallback);
});
t.step(function () {
add_result_callback(function () {
- mcServer.deletePlaylist("list");
+ mcServer.playlists.deletePlaylist("list");
});
successCallback = t.step_func(function (items) {
});
mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
+ playlist = mcServer.playlists.createPlaylist("list");
playlist.addItem("index1", { title: "testTitle" });
- mcServer.savePlaylist(playlist);
+ mcServer.playlists.savePlaylist(playlist);
playlist.getItems(successCallback);
});
t.step(function () {
add_result_callback(function () {
- mcServer.deletePlaylist("list");
+ mcServer.playlists.deletePlaylist("list");
+ mcServerInfo.playlists.removePlaylistUpdateListener(watcherId);
});
onupdate = {
onplaylistdeleted: t.step_func(function(serverName, list) {
assert_equals(serverName, "apimediact.WebAPITizenMediaKeyTests", "invalid value of serverName");
assert_type(list, "string", "invalid type of playlistName");
assert_equals(list, "list", "invalid value of playlistName");
- mcServerInfo.removePlaylistUpdatedListener(watcherId);
t.done();
})
};
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
- playlist = mcServer.createPlaylist("list");
- mcServer.savePlaylist(playlist);
- watcherId = mcServerInfo.addPlaylistUpdatedListener(onupdate);
-
- mcServer.deletePlaylist("list");
+ playlist = mcServer.playlists.createPlaylist("list");
+ mcServer.playlists.savePlaylist(playlist);
+ watcherId = mcServerInfo.playlists.addPlaylistUpdateListener(onupdate);
+ mcServer.playlists.deletePlaylist("list");
});
</script>
t.step(function () {
add_result_callback(function () {
- mcServer.deletePlaylist("list");
+ mcServer.playlists.deletePlaylist("list");
+ mcServerInfo.playlists.removePlaylistUpdateListener(watcherId);
});
onupdate = {
onplaylistupdated: t.step_func(function(serverName, list) {
assert_equals(serverName, "apimediact.WebAPITizenMediaKeyTests", "invalid value of serverName");
assert_type(list, "object", "invalid type of playlistName");
assert_equals(list.name, "list", "invalid value of playlistName");
- mcServerInfo.removePlaylistUpdatedListener(watcherId);
t.done();
})
};
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
- playlist = mcServer.createPlaylist("list");
- mcServer.savePlaylist(playlist);
- watcherId = mcServerInfo.addPlaylistUpdatedListener(onupdate);
+ playlist = mcServer.playlists.createPlaylist("list");
+ mcServer.playlists.savePlaylist(playlist);
+ watcherId = mcServerInfo.playlists.addPlaylistUpdateListener(onupdate);
playlist.addItem("index1", { title: "testTitle" });
- mcServer.savePlaylist(playlist);
- mcServer.updatePlaybackItem("list", "index1");
+ mcServer.playlists.savePlaylist(playlist);
+ mcServer.playback.updatePlaybackItem("list", "index1");
});
</script>
t.step(function () {
add_result_callback(function () {
- mcServer.deletePlaylist("list");
+ mcServer.playlists.deletePlaylist("list");
});
successCallback = t.step_func(function (items) {
});
mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
+ playlist = mcServer.playlists.createPlaylist("list");
retVal = playlist.addItem("index1", { title: "testTitle" });
- mcServer.savePlaylist(playlist);
+ mcServer.playlists.savePlaylist(playlist);
playlist.getItems(successCallback);
});
test(function () {
var mcServer, playlist;
mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
+ playlist = mcServer.playlists.createPlaylist("list");
check_method_exists(playlist, "addItem");
}, document.title);
t.step(function () {
mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
+ playlist = mcServer.playlists.createPlaylist("list");
conversionTable = getTypeConversionExceptions("dictionary", false);
t.step(function () {
add_result_callback(function () {
- mcServer.deletePlaylist("list");
+ mcServer.playlists.deletePlaylist("list");
});
successCallback = t.step_func(function (items) {
});
mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
+ playlist = mcServer.playlists.createPlaylist("list");
playlist.addItem("index1", {});
- mcServer.savePlaylist(playlist);
+ mcServer.playlists.savePlaylist(playlist);
playlist.getItems(successCallback);
});
var mcServer, playlist;
mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
+ playlist = mcServer.playlists.createPlaylist("list");
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
playlist.addItem();
}, "Invoked without non-optional arguments.");
test(function () {
var mcServer, playlist;
mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist;
+ playlist = mcServer.playlists.createPlaylist;
check_extensibility(playlist);
}, document.title);
t.step(function () {
add_result_callback(function () {
- mcServer.deletePlaylist("list");
+ mcServer.playlists.deletePlaylist("list");
});
successCallback = t.step_func(function (items) {
assert_equals(retVal, undefined, "getItems should return undefined");
t.done();
});
mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
+ playlist = mcServer.playlists.createPlaylist("list");
playlist.addItem("index1", { title: "testTitle" });
- mcServer.savePlaylist(playlist);
+ mcServer.playlists.savePlaylist(playlist);
retVal = playlist.getItems(successCallback);
});
t.step(function () {
mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
+ playlist = mcServer.playlists.createPlaylist("list");
conversionTable = getTypeConversionExceptions("functionObject", true);
successCallback = t.step_func(function () {
});
mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
+ playlist = mcServer.playlists.createPlaylist("list");
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
playlist.getItems(successCallback, incorrectCallback);
}, "Given incorrect errorCallback.");
var mcServer, playlist;
mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
+ playlist = mcServer.playlists.createPlaylist("list");
check_method_exists(playlist, "getItems");
}, document.title);
var mcServer, playlist;
mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
+ playlist = mcServer.playlists.createPlaylist("list");
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
playlist.getItems();
}, "Invoked without non-optional arguments.");
t.step(function () {
mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
+ playlist = mcServer.playlists.createPlaylist("list");
conversionTable = getTypeConversionExceptions("functionObject", true);
for (i = 0; i < conversionTable.length; i++) {
};
mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
+ playlist = mcServer.playlists.createPlaylist("list");
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
playlist.getItems(incorrectCallback);
}, "Given incorrect successCallback.");
t.step(function () {
add_result_callback(function () {
- mcServer.deletePlaylist("list");
+ mcServer.playlists.deletePlaylist("list");
});
errorCallback = t.step_func(function (error) {
assert_unreached("getItems() error callback should not be invoked:" + error.name + ": " + error.message);
});
mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
+ playlist = mcServer.playlists.createPlaylist("list");
playlist.addItem("index1", { title: "testTitle" });
- mcServer.savePlaylist(playlist);
+ mcServer.playlists.savePlaylist(playlist);
retVal = playlist.getItems(successCallback, errorCallback);
});
test(function () {
var mcServer, playlist;
mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
+ playlist = mcServer.playlists.createPlaylist("list");
check_readonly(playlist, "name", playlist.name, "string", "A");
}, document.title);
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>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>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>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>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>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>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>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>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>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>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylistsInfo_extend</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylistsInfo_extend
+//==== LABEL Check if MediaControllerPlaylistsInfo object is extendable
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:MediaControllerPlaylistsInfo U
+//==== SPEC_URL TBD
+//==== PRIORITY P3
+//==== TEST_CRITERIA OBX
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer = tizen.mediacontroller.createServer();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_extensibility(mcServerInfo.playlists);
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylistsInfo_getAllPlaylists</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylistsInfo_getAllPlaylists
+//==== LABEL Check if MediaControllerPlaylistsInfo getAllPlaylists method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, successCallback, retVal = null;
+
+t.step(function () {
+ successCallback = t.step_func(function (playlists) {
+ assert_equals(retVal, undefined, "getAllPlaylists should return undefined");
+ t.done();
+ });
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ serverInfo = mcClient.getLatestServerInfo();
+ mcServer.playlists.createPlaylist("list");
+ retVal = serverInfo.playlists.getAllPlaylists(successCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylistsInfo_getAllPlaylists_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylistsInfo_getAllPlaylists_errorCallback_TypeMismatch
+//==== LABEL Check if getAllPlaylists throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, conversionTable,
+ exceptionName, i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ serverInfo = mcClient.getLatestServerInfo();
+ mcServer.playlists.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("getAllPlaylists() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ serverInfo.playlists.getAllPlaylists(successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylistsInfo_getAllPlaylists_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylistsInfo_getAllPlaylists_errorCallback_invalid_cb
+//==== LABEL Check if getAllPlaylists throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("getAllPlaylists() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.playlists.createPlaylist("list");
+ mcClient = tizen.mediacontroller.getClient();
+ serverInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ serverInfo.playlists.getAllPlaylists(successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylistsInfo_getAllPlaylists_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylistsInfo_getAllPlaylists_exist
+//==== LABEL Check if getAllPlaylists exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, serverInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.playlists.createPlaylist("list");
+ serverInfo = mcClient.getLatestServerInfo();
+ check_method_exists(serverInfo.playlists, "getAllPlaylists");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylistsInfo_getAllPlaylists_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylistsInfo_getAllPlaylists_misarg
+//==== LABEL Check if getAllPlaylists method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, serverInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.playlists.createPlaylist("list");
+ serverInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ serverInfo.playlists.getAllPlaylists();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylistsInfo_getAllPlaylists_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylistsInfo_getAllPlaylists_successCallback_TypeMismatch
+//==== LABEL Check if getAllPlaylists throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, conversionTable,
+ exceptionName, i, successCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.playlists.createPlaylist("list");
+ serverInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", false);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ serverInfo.playlists.getAllPlaylists(successCallback)
+ }, "Given incorrect success callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylistsInfo_getAllPlaylists_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylistsInfo_getAllPlaylists_successCallback_invalid_cb
+//==== LABEL Check if getAllPlaylists throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ serverInfo = mcClient.getLatestServerInfo();
+ mcServer.playlists.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ serverInfo.playlists.getAllPlaylists(incorrectCallback);
+ }, "Given incorrect successCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylistsInfo_getAllPlaylists_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylistsInfo_getAllPlaylists_with_errorCallback
+//==== LABEL Check if MediaControllerPlaylistsInfo getAllPlaylists method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, successCallback,
+ errorCallback, retVal = null;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("getAllPlaylists() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "getAllPlaylists should return undefined");
+ t.done();
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.playlists.createPlaylist("list");
+ mcClient = tizen.mediacontroller.getClient();
+ serverInfo = mcClient.getLatestServerInfo();
+ retVal = serverInfo.playlists.getAllPlaylists(successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylistsInfo_notexist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylistsInfo_notexist
+//==== LABEL Check if interface MediaControllerPlaylistsInfo exists, it should not.
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:MediaControllerPlaylistsInfo U
+//==== SPEC_URL TBD
+//==== PRIORITY P3
+//==== TEST_CRITERIA NIO
+
+test(function () {
+ check_no_interface_object("MediaControllerPlaylistsInfo");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>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>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>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>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>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>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylistsInfo_sendPlaybackItem</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylistsInfo_sendPlaybackItem
+//==== LABEL Check if MediaControllerPlaylistsInfo sendPlaybackItem method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:sendPlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR
+
+test(function () {
+ var mcServer, mcClient, serverInfo, retVal = null;
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ serverInfo = mcClient.getLatestServerInfo();
+ mcServer.playlists.createPlaylist("list");
+ retVal = serverInfo.playlists.sendPlaybackItem("list", "1", "PLAY", 0);
+ assert_equals(retVal, undefined, "sendPlaybackItem should return undefined");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylistsInfo_sendPlaybackItem_action_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylistsInfo_sendPlaybackItem_action_TypeMismatch
+//==== LABEL Check if sendPlaybackItem throws exception when action is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:sendPlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, conversionTable,
+ exceptionName, i, action;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ serverInfo = mcClient.getLatestServerInfo();
+ mcServer.playlists.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("enum", false);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ action = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ serverInfo.playlists.sendPlaybackItem("list", "1", action, 0)
+ }, "Given incorrect action.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylistsInfo_sendPlaybackItem_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylistsInfo_sendPlaybackItem_exist
+//==== LABEL Check if sendPlaybackItem exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:sendPlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, serverInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.playlists.createPlaylist("list");
+ serverInfo = mcClient.getLatestServerInfo();
+ check_method_exists(serverInfo.playlists, "sendPlaybackItem");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+ <!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylistsInfo_sendPlaybackItem_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylistsInfo_sendPlaybackItem_misarg
+//==== LABEL Check if sendPlaybackItem method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylistsInfo:sendPlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, serverInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.playlists.createPlaylist("list");
+ serverInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ serverInfo.playlists.sendPlaybackItem();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_createPlaylist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_createPlaylist
+//==== LABEL Check if MediaControllerPlaylists createPlaylist method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:createPlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, retVal = null;
+
+ mcServer = tizen.mediacontroller.createServer();
+ retVal = mcServer.playlists.createPlaylist("PlayList");
+ assert_type(retVal, "object", "createPlaylist should return object")
+ assert_equals(retVal.name, "PlayList", "invalid name in return object");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_createPlaylist_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_createPlaylist_exist
+//==== LABEL Check if method createPlaylist of MediaControllerPlaylists exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:createPlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer.playlists, "createPlaylist");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_createPlaylist_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_createPlaylist_invalid
+//==== LABEL Check if createPlaylist thrown invalid exception when playlist name already exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:createPlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.playlists.createPlaylist("PlayList");
+ assert_throws(INVALID_VALUES_EXCEPTION,
+ function () {
+ mcServer.playlists.createPlaylist("PlayList");
+ }, "InvalidValuesError should be thrown.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_deletePlaylist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_deletePlaylist
+//==== LABEL Check if MediaControllerPlaylists deletePlaylist method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+
+test(function () {
+ var mcServer, retValue = null;
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.playlists.createPlaylist("list");
+ retValue = mcServer.playlists.deletePlaylist("list");
+ assert_equals(retValue, undefined, "deletePlaylist returns wrong value");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_deletePlaylist_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_deletePlaylist_errorCallback_TypeMismatch
+//==== LABEL Check if deletePlaylist throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, conversionTable,
+ exceptionName, i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.playlists.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("deletePlaylist() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.playlists.deletePlaylist("list", successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_deletePlaylist_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_deletePlaylist_errorCallback_invalid_cb
+//==== LABEL Check if deletePlaylist throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("deletePlaylist() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.playlists.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.playlists.deletePlaylist("list", successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_deletePlaylist_errorCallback_invoke</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_deletePlaylist_errorCallback_invoke
+//==== LABEL Check if errorCallback invoked when playlist with given name does not exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MERRCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback,
+ errorCallback;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_equals(error.name, "InvalidValuesError", "Invalid error name returned");
+ t.done();
+ });
+
+ successCallback = t.step_func(function () {
+ assert_unreached("deletePlaylist() successCallback should not be invoked");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.playlists.deletePlaylist("list", successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_deletePlaylist_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_deletePlaylist_exist
+//==== LABEL Check if deletePlaylist exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer.playlists, "deletePlaylist");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_deletePlaylist_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_deletePlaylist_successCallback_TypeMismatch
+//==== LABEL Check if deletePlaylist throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, conversionTable,
+ exceptionName, i, successCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.playlists.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.playlists.savePlaylist("list", successCallback)
+ }, "Given incorrect success callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_deletePlaylist_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_deletePlaylist_successCallback_invalid_cb
+//==== LABEL Check if deletePlaylist throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.playlists.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.playlists.deletePlaylist("list", incorrectCallback);
+ }, "Given incorrect successCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_deletePlaylist_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_deletePlaylist_with_errorCallback
+//==== LABEL Check if MediaControllerPlaylists deletePlaylist method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback,
+ errorCallback, retVal = null;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("deletePlaylist() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "deletePlaylist should return undefined");
+ t.done();
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.playlists.createPlaylist("list");
+ retVal = mcServer.playlists.deletePlaylist("list", successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_extend</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_extend
+//==== LABEL Check if MediaControllerPlaylists object is extendable
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:MediaControllerPlaylists U
+//==== SPEC_URL TBD
+//==== PRIORITY P3
+//==== TEST_CRITERIA OBX
+
+test(function () {
+ var mcServer;
+ mcServer = tizen.mediacontroller.createServer();
+ check_extensibility(mcServer.playlists);
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_getAllPlaylists</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_getAllPlaylists
+//==== LABEL Check if MediaControllerPlaylists getAllPlaylists method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback, retVal = null;
+
+t.step(function () {
+ successCallback = t.step_func(function (playlists) {
+ assert_equals(retVal, undefined, "getAllPlaylists should return undefined");
+ t.done();
+ });
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.playlists.createPlaylist("list");
+ retVal = mcServer.playlists.getAllPlaylists(successCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_getAllPlaylists_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_getAllPlaylists_errorCallback_TypeMismatch
+//==== LABEL Check if getAllPlaylists throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, conversionTable,
+ exceptionName, i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.playlists.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("getAllPlaylists() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.playlists.getAllPlaylists(successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_getAllPlaylists_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_getAllPlaylists_errorCallback_invalid_cb
+//==== LABEL Check if getAllPlaylists throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("getAllPlaylists() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.playlists.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.playlists.getAllPlaylists(successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_getAllPlaylists_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_getAllPlaylists_exist
+//==== LABEL Check if getAllPlaylists exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer.playlists, "getAllPlaylists");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_getAllPlaylists_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_getAllPlaylists_misarg
+//==== LABEL Check if getAllPlaylists method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.playlists.getAllPlaylists();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_getAllPlaylists_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_getAllPlaylists_successCallback_TypeMismatch
+//==== LABEL Check if getAllPlaylists throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, conversionTable,
+ exceptionName, i, successCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.playlists.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", false);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.playlists.getAllPlaylists(successCallback)
+ }, "Given incorrect success callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_getAllPlaylists_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_getAllPlaylists_successCallback_invalid_cb
+//==== LABEL Check if getAllPlaylists throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.playlists.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.playlists.getAllPlaylists(incorrectCallback);
+ }, "Given incorrect successCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_getAllPlaylists_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_getAllPlaylists_with_errorCallback
+//==== LABEL Check if MediaControllerPlaylists getAllPlaylists method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback,
+ errorCallback, retVal = null;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("getAllPlaylists() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "getAllPlaylists should return undefined");
+ t.done();
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.playlists.createPlaylist("list");
+ retVal = mcServer.playlists.getAllPlaylists(successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_notexist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_notexist
+//==== LABEL Check if interface MediaControllerPlaylists exists, it should not.
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:MediaControllerPlaylists U
+//==== SPEC_URL TBD
+//==== PRIORITY P3
+//==== TEST_CRITERIA NIO
+
+test(function () {
+ check_no_interface_object("MediaControllerPlaylists");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_savePlaylist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_savePlaylist
+//==== LABEL Check if MediaControllerPlaylists savePlaylist method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+
+test(function () {
+ var mcServer, playlist, retValue = null;
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.playlists.createPlaylist("list");
+ retValue = mcServer.playlists.savePlaylist(playlist);
+ assert_equals(retValue, undefined, "savePlaylist returns wrong value");
+ mcServer.playlists.deletePlaylist("list");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_savePlaylist_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_savePlaylist_errorCallback_TypeMismatch
+//==== LABEL Check if savePlaylist throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, conversionTable,
+ exceptionName, i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.playlists.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("savePlaylist() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.playlists.savePlaylist(playlist, successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_savePlaylist_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_savePlaylist_errorCallback_invalid_cb
+//==== LABEL Check if savePlaylist throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("savePlaylist() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.playlists.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.playlists.savePlaylist(playlist, successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_savePlaylist_errorCallback_invoke</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_savePlaylist_errorCallback_invoke
+//==== LABEL Check if errorCallback invoked when playlist with given name does not exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MERRCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, successCallback,
+ errorCallback;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_equals(error.name, "InvalidValuesError", "Invalid error name returned");
+ t.done();
+ });
+
+ successCallback = t.step_func(function () {
+ assert_unreached("savePlaylist() successCallback should not be invoked");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.playlists.createPlaylist("list");
+ mcServer.playlists.deletePlaylist("list");
+ mcServer.playlists.savePlaylist(playlist, successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_savePlaylist_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_savePlaylist_exist
+//==== LABEL Check if savePlaylist exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer.playlists, "savePlaylist");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_savePlaylist_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_savePlaylist_misarg
+//==== LABEL Check if savePlaylist method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.playlists.savePlaylist();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_savePlaylist_playlist_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_savePlaylist_playlist_TypeMismatch
+//==== LABEL Check if savePlaylist throws exception when playlist is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, playlist, conversionTable, exceptionName, i;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ conversionTable = getTypeConversionExceptions("object", false);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ playlist = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.playlists.savePlaylist(playlist)
+ }, "Given incorrect playlist");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_savePlaylist_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_savePlaylist_successCallback_TypeMismatch
+//==== LABEL Check if savePlaylist throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, conversionTable,
+ exceptionName, i, successCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.playlists.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.playlists.savePlaylist(playlist, successCallback)
+ }, "Given incorrect success callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_savePlaylist_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_savePlaylist_successCallback_invalid_cb
+//==== LABEL Check if savePlaylist throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.playlists.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.playlists.savePlaylist(playlist, incorrectCallback);
+ }, "Given incorrect successCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaylists_savePlaylist_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaylists_savePlaylist_with_errorCallback
+//==== LABEL Check if MediaControllerPlaylists savePlaylist method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaylists:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, successCallback,
+ errorCallback, retVal = null;
+
+t.step(function () {
+ add_result_callback(function () {
+ mcServer.playlists.deletePlaylist("list");
+ });
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("savePlaylist() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "savePlaylist should return undefined");
+ t.done();
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.playlists.createPlaylist("list");
+ retVal = mcServer.playlists.savePlaylist(playlist, successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
watcherId = mcServer.addCommandListener(commandReceiveListener);
exampleCustomCommandData = new tizen.Bundle({myFilter: "rock"});
mcServer = tizen.mediacontroller.createServer();
mcServer.setSearchRequestListener(searchRequestListener);
- mcServer.updatePlaybackState("PLAY");
mcClient = tizen.mediacontroller.getClient();
mcServerInfo = mcClient.getLatestServerInfo();
mcServerInfo.sendSearchRequest(query, replyCallback);
mcServer = tizen.mediacontroller.createServer();
mcServer.setSearchRequestListener(searchRequestListener);
- mcServer.updatePlaybackState("PLAY");
mcClient = tizen.mediacontroller.getClient();
mcServerInfo = mcClient.getLatestServerInfo();
mcServerInfo.sendSearchRequest(query, replyCallback);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
watcherId = mcServer.addCommandListener(commandReceiveListener);
exampleCustomCommandData = new tizen.Bundle({myFilter: "rock"});
});
mcServer = tizen.mediacontroller.createServer();
- mcServer.updatePlaybackState("PLAY");
mcClient = tizen.mediacontroller.getClient();
mcClient.findServers(onsuccessCB);
});
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener
+//==== LABEL Check if MediaControllerServerInfoPlaybackInfo addPlaybackInfoChangeListener method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:addPlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, playbackListener, retVal = null;
+
+t.step(function () {
+ add_result_callback(function(){
+ mcServerInfo.playback.removePlaybackInfoChangeListener(retVal);
+ });
+ playbackListener = {
+ onplaybackchanged: t.step_func(function(state, position) {
+ assert_type(retVal, "long", "return value type should be long");
+ assert_equals(state, "STOP", "state should be STOP");
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ mcServer.playback.state = "PLAY";
+ retVal = mcServerInfo.playback.addPlaybackInfoChangeListener(playbackListener);
+ mcServer.playback.state = "STOP";
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_exist
+//==== LABEL check if addPlaybackInfoChangeListener exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:addPlaybackInfoChangeListener 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.playback, "addPlaybackInfoChangeListener");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_listener_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_listener_TypeMismatch
+//==== LABEL Check if addPlaybackInfoChangeListener throws exception when listener is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:addPlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, mcClient, mcServerInfo, playbackListener, exceptionName, conversionTable, i;
+
+test(function () {
+ conversionTable = getTypeConversionExceptions("object", false);
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+
+ for (i = 0; i < conversionTable.length; i++) {
+ playbackListener = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.playback.addPlaybackInfoChangeListener(playbackListener);
+ }, exceptionName + " should be thrown - given incorrect listener.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_listener_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_listener_invalid
+//==== LABEL Check if addPlaybackInfoChangeListener throws exception when listener is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:addPlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTL
+
+var mcClient, mcServer, mcServerInfo, playbackListener, exceptionName, incorrectListener, i;
+
+test(function () {
+ incorrectListener = getListenerConversionExceptions(["onplaybackchanged", "onshufflemodechanged",
+ "onrepeatstatechanged", "onmetadatachanged"]);
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+
+ for (i = 0; i < incorrectListener.length; i++) {
+ playbackListener = incorrectListener[i][0];
+ exceptionName = incorrectListener[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.playback.addPlaybackInfoChangeListener(playbackListener);
+ }, exceptionName + " should be thrown - given incorrect listener.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_misarg
+//==== LABEL Check if addPlaybackInfoChangeListener method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:addPlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcClient, mcServerInfo;
+
+ tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.playback.addPlaybackInfoChangeListener();
+ }, "Calling addPlaybackInfoChangeListener without arguments should throw an exception.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_ageRating_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_ageRating_attribute
+//==== LABEL Check if attribute ageRating of MediaControllerServerInfoPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:ageRating A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO AVL
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_readonly(mcServerInfo.playback, "ageRating", mcServerInfo.playback.ageRating, "string", "19");
+ assert_in_array(mcServer.playback.ageRating, ["ALL", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19"], "Incorrect value of type");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_contentType_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_contentType_attribute
+//==== LABEL Check if attribute contentType of MediaControllerServerInfoPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:contentType A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO AVL ADV
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_readonly(mcServerInfo.playback, "contentType", mcServerInfo.playback.contentType, "string", "VIDEO");
+ assert_in_array(mcServerInfo.playback.contentType, ["IMAGE", "MUSIC", "VIDEO", "OTHER", "UNDECIDED"], "Incorrect value of type");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_extend</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_extend
+//==== LABEL Check if MediaControllerServerInfoPlaybackInfo object is extendable
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:MediaControllerServerInfoPlaybackInfo U
+//==== SPEC_URL TBD
+//==== PRIORITY P3
+//==== TEST_CRITERIA OBX
+
+test(function () {
+ var mcClient, mcServer, mcServerInfo;
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_extensibility(mcServerInfo.playback);
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_index_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_index_attribute
+//==== LABEL Check if attribute index of MediaControllerServerInfoPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:index A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_readonly(mcServerInfo.playback, "index", mcServerInfo.playback.index, "string", "A");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_metadata_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_metadata_attribute
+//==== LABEL Check if attribute metadata of MediaControllerServerInfoPlaybackInfo exists, has type object and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:metadata A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo, metadata;
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_true("metadata" in mcServerInfo.playback, "metadata exists");
+ metadata = mcServerInfo.playback.metadata;
+ assert_type(metadata, "object", "metadata should be an object");
+ mcServerInfo.playback.metadata = null;
+ newdata = mcServerInfo.playback.metadata;
+ assert_equals(JSON.stringify(metadata), JSON.stringify(newdata), "metadata should not be updated");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_notexist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_notexist
+//==== LABEL Check if interface MediaControllerServerInfoPlaybackInfo exists, it should not.
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:MediaControllerServerInfoPlaybackInfo U
+//==== SPEC_URL TBD
+//==== PRIORITY P3
+//==== TEST_CRITERIA NIO
+
+test(function () {
+ check_no_interface_object("MediaControllerServerInfoPlaybackInfo");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_playlistName_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_playlistName_attribute
+//==== LABEL Check if attribute playlistName of MediaControllerServerInfoPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:playlistName A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_readonly(mcServerInfo.playback, "playlistName", mcServerInfo.playback.playlistName, "string", "A");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_position_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_position_attribute
+//==== LABEL Check if attribute position of MediaControllerServerInfoPlaybackInfo exists, has type long and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:position A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_readonly(mcServerInfo.playback, "position", mcServerInfo.playback.position, "long", 100);
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener
+//==== LABEL Check if MediaControllerServerInfoPlaybackInfo removePlaybackInfoChangeListener method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:removePlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, playbackListener, watchId, retVal = null;
+
+t.step(function () {
+ add_result_callback(function(){
+ mcServerInfo.playback.removePlaybackInfoChangeListener(watchId);
+ });
+ playbackListener = {
+ onplaybackchanged: t.step_func(function(state, position) {
+ retVal = mcServerInfo.playback.removePlaybackInfoChangeListener(watchId);
+ assert_equals(retVal, undefined, "removePlaybackInfoChangeListener returns wrong value");
+ try {
+ mcServerInfo.playback.removePlaybackInfoChangeListener(watchId);
+ } catch(e) {
+ assert_unreached("Calling removePlaybackInfoChangeListener twice should not throw an exception.");
+ }
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ mcServer.playback.state = "PLAY";
+ watchId = mcServerInfo.playback.addPlaybackInfoChangeListener(playbackListener);
+ mcServer.playback.state = "STOP";
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener_exist
+//==== LABEL check if removePlaybackInfoChangeListener exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:removePlaybackInfoChangeListener 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.playback, "removePlaybackInfoChangeListener");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener_misarg
+//==== LABEL Check if removePlaybackInfoChangeListener method called with missing non-optional argument does not throw any exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:removePlaybackInfoChangeListener 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.playback.removePlaybackInfoChangeListener();
+ } catch(e) {
+ assert_unreached("Calling removePlaybackInfoChangeListener without arguments should not throw an exception.");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener_watchId_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener_watchId_invalid
+//==== LABEL Check if removePlaybackInfoChangeListener method of MediaControllerServerInfoPlaybackInfo called with invalid value throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:removePlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ try {
+ mcServerInfo.playback.removePlaybackInfoChangeListener(-1);
+ } catch (e) {
+ assert_unreached("Should not throw exception, but threw " + e.name);
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_repeatState_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_repeatState_attribute
+//==== LABEL Check if attribute repeatState of MediaControllerServerInfoPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:repeatState A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_readonly(mcServerInfo.playback, "repeatState", mcServerInfo.playback.repeatState, "string", "REPEAT_ALL");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendPlaybackAction</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendPlaybackAction
+//==== LABEL Check if MediaControllerServerInfoPlaybackInfo sendPlaybackAction method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendPlaybackAction M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA MAST
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo,
+ watchId, retVal = null, playbackRequestListener;
+
+t.step(function () {
+ add_result_callback(function(){
+ mcServer.playback.removeChangeRequestListener(watchId);
+ });
+ playbackRequestListener = {
+ onplaybackactionrequest: t.step_func(function(action, clientName) {
+ assert_equals(retVal, undefined, "sendPlaybackAction should return undefined");
+ assert_type(action, "string", "action should be a string");
+ assert_equals(action, "STOP", "action be requested to change");
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watchId = mcServer.playback.addChangeRequestListener(playbackRequestListener);
+ retVal = mcServerInfo.playback.sendPlaybackAction("STOP");
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_action_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_action_TypeMismatch
+//==== LABEL Check if sendPlaybackAction throws exception when action is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendPlaybackAction M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i, action;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("enum", false);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ action = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.playback.sendPlaybackAction(action)
+ }, "Given incorrect action");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_exist
+//==== LABEL Check if sendPlaybackAction exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendPlaybackAction 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.playback, "sendPlaybackAction");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_misarg
+//==== LABEL Check if sendPlaybackAction method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendPlaybackAction 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.playback.sendPlaybackAction();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_replyCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_replyCallback_TypeMismatch
+//==== LABEL Check if sendPlaybackAction throws exception when replyCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendPlaybackAction M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i, replyCallback;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ replyCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.playback.sendPlaybackAction('PLAY', replyCallback)
+ }, "Given incorrect replyCallback.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_replyCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_replyCallback_invalid_cb
+//==== LABEL Check if sendPlaybackAction throws exception when replyCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendPlaybackAction M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServerInfo, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid replyCallback invoked");
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.playback.sendPlaybackAction("PLAY", incorrectCallback);
+ }, "Given incorrect replyCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_with_replyCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_with_replyCallback
+//==== LABEL Check if MediaControllerServerInfoPlaybackInfo sendPlaybackAction method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendPlaybackAction M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, replyCallback,
+ watchId, retVal = null, playbackRequestListener;
+
+t.step(function () {
+ add_result_callback(function(){
+ mcServer.playback.removeChangeRequestListener(watchId);
+ });
+
+ playbackRequestListener = {
+ onplaybackactionrequest: t.step_func(function(position) {
+ return new tizen.mediacontroller.RequestReply(new tizen.Bundle({"message": "Success"}), 0);
+ })
+ };
+ replyCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "sendPlaybackAction should return undefined");
+ t.done();
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watchId = mcServer.playback.addChangeRequestListener(playbackRequestListener);
+ retVal = mcServerInfo.playback.sendPlaybackAction("STOP", replyCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition
+//==== LABEL Check if MediaControllerServerInfoPlaybackInfo sendPlaybackPosition method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA MAST
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, watchId,
+ beforeposition, retVal = null, playbackRequestListener;
+
+t.step(function () {
+ add_result_callback(function(){
+ mcServer.playback.removeChangeRequestListener(watchId);
+ });
+ playbackRequestListener = {
+ onplaybackpositionrequest: t.step_func(function(position) {
+ assert_equals(retVal, undefined, "sendPlaybackPosition should return undefined");
+ assert_type(position, "long", "position should be a long number");
+ assert_greater_than_equal(position, beforeposition + 10, "position should be equal or bigger than set position");
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ beforeposition = mcServer.playback.position;
+ watchId = mcServer.playback.addChangeRequestListener(playbackRequestListener);
+ retVal = mcServerInfo.playback.sendPlaybackPosition(beforeposition + 10);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_exist
+//==== LABEL Check if sendPlaybackPosition exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendPlaybackPosition 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.playback, "sendPlaybackPosition");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_misarg
+//==== LABEL Check if sendPlaybackPosition method called with missing non-optional argument does NOT throw an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendPlaybackPosition 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.playback.sendPlaybackPosition();
+ } catch(e) {
+ assert_unreached("Should not throw any exception, but threw " + e.name + e.message);
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_replyCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_replyCallback_TypeMismatch
+//==== LABEL Check if sendPlaybackPosition throws exception when replyCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i, replyCallback;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+ for (i = 0; i < conversionTable.length; i++) {
+ replyCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.playback.sendPlaybackPosition(120, replyCallback)
+ }, "Given incorrect replyCallback.");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_replyCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_replyCallback_invalid_cb
+//==== LABEL Check if sendPlaybackPosition throws exception when replyCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid replyCallback invoked");
+ })
+ };
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.playback.sendPlaybackPosition(120, incorrectCallback);
+ }, "Given incorrect replyCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_with_replyCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_with_replyCallback
+//==== LABEL Check if MediaControllerServerInfoPlaybackInfo sendPlaybackPosition method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, watchId, beforeposition,
+ replyCallback, playbackRequestListener, retVal = null;
+
+t.step(function () {
+ add_result_callback(function(){
+ mcServer.playback.removeChangeRequestListener(watchId);
+ });
+
+ playbackRequestListener = {
+ onplaybackpositionrequest: t.step_func(function(position) {
+ return new tizen.mediacontroller.RequestReply(new tizen.Bundle({"message": "Success"}), 0);
+ })
+ };
+ replyCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "sendPlaybackPosition should return undefined.");
+ t.done();
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ beforeposition = mcServer.playback.position;
+ watchId = mcServer.playback.addChangeRequestListener(playbackRequestListener);
+ retVal = mcServerInfo.playback.sendPlaybackPosition(beforeposition + 10, replyCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendRepeatState</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendRepeatState
+//==== LABEL Check if sendRepeatState() works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo, retValue = null;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ retValue = mcServerInfo.playback.sendRepeatState("REPEAT_OFF");
+ assert_equals(retValue, undefined, "sendRepeatState returns wrong value");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendRepeatState_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendRepeatState_exist
+//==== LABEL Check if method sendRepeatState of MediaControllerServerInfoPlaybackInfo exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendRepeatState 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.playback, "sendRepeatState");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendRepeatState_replyCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendRepeatState_replyCallback_TypeMismatch
+//==== LABEL Check argument replyCallback conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendRepeatState 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("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ incorrectCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.playback.sendRepeatState("REPEAT_OFF", incorrectCallback);
+ }, exceptionName + " should be thrown - given incorrect replyCallback - " + incorrectCallback);
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendRepeatState_replyCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendRepeatState_replyCallback_invalid_cb
+//==== LABEL Check if sendRepeatState throws exception when replyCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), exceptionName = "TypeMismatchError", mcServer, mcClient,
+ mcServerInfo, incorrectCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("sendRepeatState() replyCallback invoked.");
+ })
+ };
+
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.playback.sendRepeatState("REPEAT_OFF", incorrectCallback);
+ }, exceptionName + " should be thrown - given incorrect replyCallback");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendRepeatState_state_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendRepeatState_state_TypeMismatch
+//==== LABEL Check argument state conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, state,
+ exceptionName, i, conversionTable;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+
+ conversionTable = getTypeConversionExceptions("enum", false);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ state = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.playback.sendRepeatState(state);
+ }, exceptionName + " should be thrown - given incorrect state");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendRepeatState_with_replyCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendRepeatState_with_replyCallback
+//==== LABEL Check if sendRepeatState method works properly with replyCallback argument
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, playbackRequestListener,
+ onsuccessCB, watchId = null, retValue = null;
+
+t.step(function () {
+ add_result_callback(function(){
+ mcServer.playback.removeChangeRequestListener(watchId);
+ });
+ onsuccessCB = t.step_func(function (){
+ assert_equals(retValue, undefined, "sendRepeatState returns wrong value");
+ t.done();
+ });
+ playbackRequestListener = {
+ onrepeatstaterequest: t.step_func(function(position) {
+ return new tizen.mediacontroller.RequestReply(new tizen.Bundle({"message": "Success"}), 0);
+ })
+ };
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watchId = mcServer.playback.addChangeRequestListener(playbackRequestListener);
+ retValue = mcServerInfo.playback.sendRepeatState("REPEAT_OFF", onsuccessCB);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendShuffleMode</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendShuffleMode
+//==== LABEL Check if MediaControllerServerInfoPlaybackInfo sendShuffleMode method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, retVal = null,
+ beforemode, watchId, playbackRequestListener;
+
+t.step(function () {
+ add_result_callback(function(){
+ mcServer.playback.removeChangeRequestListener(watchId);
+ });
+ playbackRequestListener = {
+ onshufflemoderequest: t.step_func(function(mode) {
+ assert_equals(retVal, undefined, "sendShuffleMode should return undefined");
+ assert_type(mode, "boolean", "shuffleMode should be a boolean");
+ assert_equals(mode, !beforemode, "shuffleMode be requested to change");
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ beforemode = mcServer.playbackInfo.shuffleMode;
+ watchId = mcServer.playback.addChangeRequestListener(playbackRequestListener);
+ retVal = mcServerInfo.playback.sendShuffleMode(!beforemode);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendShuffleMode_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendShuffleMode_exist
+//==== LABEL Check if sendShuffleMode exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendShuffleMode 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.playback, "sendShuffleMode");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendShuffleMode_replyCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendShuffleMode_replyCallback_TypeMismatch
+//==== LABEL Check if sendShuffleMode throws exception when replyCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i, replyCallback;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ replyCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.playback.sendShuffleMode(true, replyCallback)
+ }, "Given incorrect replyCallback.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendShuffleMode_replyCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendShuffleMode_replyCallback_invalid_cb
+//==== LABEL Check if sendShuffleMode throws exception when replyCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServerInfo, incorrectCallback, mcServer;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid replyCallback invoked");
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.playback.sendShuffleMode(true, incorrectCallback);
+ }, "Given incorrect replyCallback.");
+
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_sendShuffleMode_with_replyCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_sendShuffleMode_with_replyCallback
+//==== LABEL Check if MediaControllerServerInfoPlaybackInfo sendShuffleMode method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, replyCallback, retVal = null, beforemode, watchId, playbackRequestListener;
+
+t.step(function () {
+ add_result_callback(function(){
+ mcServer.playback.removeChangeRequestListener(watchId);
+ });
+ replyCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "sendShuffleMode should return undefined");
+ t.done();
+ });
+
+ playbackRequestListener = {
+ onshufflemoderequest: t.step_func(function(position) {
+ return new tizen.mediacontroller.RequestReply(new tizen.Bundle({"message": "Success"}), 0);
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ beforemode = mcServer.playbackInfo.shuffleMode;
+ watchId = mcServer.playback.addChangeRequestListener(playbackRequestListener);
+ retVal = mcServerInfo.playback.sendShuffleMode(!beforemode, replyCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_shuffleMode_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfoPlaybackInfo_shuffleMode_attribute
+//==== LABEL Check if attribute shuffleMode of MediaControllerServerInfoPlaybackInfo exists, has type boolean and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfoPlaybackInfo:shuffleMode A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo, beforemode;
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ beforemode = mcServerInfo.playback.shuffleMode;
+ check_readonly(mcServerInfo.playback, "shuffleMode", mcServerInfo.playback.shuffleMode, "boolean", !beforemode);
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfoPlaybackInfo_state_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_state_attribute
+//==== LABEL Check if attribute state of MediaControllerPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:state A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO AVL
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo, beforemode;
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_readonly(mcServerInfo.playback, "state", mcServerInfo.playback.state, "string", "FORWARD");
+ assert_in_array(mcServerInfo.playback.state, ["PLAY", "PAUSE", "STOP", "NEXT", "PREV", "FORWARD", "REWIND"], "Incorrect value of type");
+}, document.title);
+
+</script>
+</body>
+</html>
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_readonly(mcServerInfo, "abilities", mcServerInfo.abilities, "object", null);
}, document.title);
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_addPlaybackInfoChangeListener</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_addPlaybackInfoChangeListener
-//==== LABEL Check if MediaControllerServerInfo addPlaybackInfoChangeListener method works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaybackInfoChangeListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, playbackListener, retVal = null;
-
-t.step(function () {
- playbackListener = {
- onplaybackchanged: t.step_func(function(state, position) {
- assert_type(retVal, "long", "sendPlaybackPosition should return long");
- assert_equals(state, "STOP", "state should be STOP");
- mcServerInfo.removePlaybackInfoChangeListener(retVal);
- t.done();
- })
- };
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- retVal = mcServerInfo.addPlaybackInfoChangeListener(playbackListener);
- mcServer.updatePlaybackState("STOP");
-});
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_addPlaybackInfoChangeListener_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_addPlaybackInfoChangeListener_exist
-//==== LABEL check if addPlaybackInfoChangeListener exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaybackInfoChangeListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer, mcClient, mcServerInfo;
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- check_method_exists(mcServerInfo, "addPlaybackInfoChangeListener");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch
-//==== LABEL Check if addPlaybackInfoChangeListener throws exception when listener is incorrect
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaybackInfoChangeListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-var mcServer, mcClient, mcServerInfo, playbackListener, exceptionName, conversionTable, i;
-
-test(function () {
- conversionTable = getTypeConversionExceptions("object", false);
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
-
- for (i = 0; i < conversionTable.length; i++) {
- playbackListener = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServerInfo.addPlaybackInfoChangeListener(playbackListener);
- }, exceptionName + " should be thrown - given incorrect listener.");
- }
-
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid
-//==== LABEL Check if addPlaybackInfoChangeListener throws exception when listener is invalid
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaybackInfoChangeListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTL
-
-var mcClient, mcServer, mcServerInfo, playbackListener, exceptionName, incorrectListener, i;
-
-test(function () {
- incorrectListener = getListenerConversionExceptions(["onplaybackchanged", "onshufflemodechanged",
- "onrepeatmodechanged", "onmetadatachanged"]);
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
-
- for (i = 0; i < incorrectListener.length; i++) {
- playbackListener = incorrectListener[i][0];
- exceptionName = incorrectListener[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServerInfo.addPlaybackInfoChangeListener(playbackListener);
- }, exceptionName + " should be thrown - given incorrect listener.");
- }
-
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg
-//==== LABEL Check if addPlaybackInfoChangeListener method called with missing non-optional argument throws an exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaybackInfoChangeListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- var mcClient, mcServerInfo;
-
- tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServerInfo = mcClient.getLatestServerInfo();
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServerInfo.addPlaybackInfoChangeListener();
- }, "Calling addPlaybackInfoChangeListener without arguments should throw an exception.");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_addPlaylistUpdatedListener</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_addPlaylistUpdatedListener
-//==== LABEL Check if addPlaylistUpdatedListener() works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaylistUpdatedListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MAST
-
-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.deletePlaylist("list");
- });
- ondelete = {
- onplaylistdeleted: t.step_func(function(playlistName) {
- assert_type(watcherId, "long", "watcherId should be type of number");
- mcServerInfo.removePlaylistUpdatedListener(watcherId);
- t.done();
- })
- };
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- playlist = mcServer.createPlaylist("list");
- mcServer.savePlaylist(playlist);
- watcherId = mcServerInfo.addPlaylistUpdatedListener(ondelete);
-
- mcServer.deletePlaylist("list");
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_addPlaylistUpdatedListener_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_addPlaylistUpdatedListener_exist
-//==== LABEL Check if method addPlaylistUpdatedListener of MediaControllerServerInfo exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaylistUpdatedListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer, mcClient, mcServerInfo;
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- check_method_exists(mcServerInfo, "addPlaylistUpdatedListener");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch
-//==== LABEL Check argument listener conversions exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo: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();
- mcServer.updatePlaybackState("PLAY");
- 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.addPlaylistUpdatedListener(incorrectCallback);
- }, exceptionName + " should be thrown - given incorrect callback - " + incorrectCallback);
- }
-
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid
-//==== LABEL Check if addPlaylistUpdatedListener throws exception when callback is invalid listener
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo: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();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- incorrectListener = getListenerConversionExceptions(["onplaylistupdated"]);
-
- for (i = 0; i < incorrectListener.length; i++) {
- statusChangeListener = incorrectListener[i][0];
- exceptionName = incorrectListener[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServerInfo.addPlaylistUpdatedListener(statusChangeListener);
- }, exceptionName + " should be thrown - given incorrect listener.");
- }
-
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_addServerStatusChangeListener_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_addServerStatusChangeListener_misarg
-//==== LABEL Check if addServerStatusChangeListener method of MediaControllerServerInfo called with missing non-optional argument throws an exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addServerStatusChangeListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- var mcServer, mcClient, mcServerInfo;
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServerInfo.addPlaylistUpdatedListener();
- }, "Invoked without non-optional arguments.");
-}, document.title);
-
-</script>
-</body>
-</html>
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_method_exists(mcServerInfo, "addServerStatusChangeListener");
}, document.title);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
test(function () {
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
conversionTable = getTypeConversionExceptions("functionObject", false);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
test(function () {
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
incorrectListener = getListenerConversionExceptions(["onsuccess"]);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
mcServerInfo.addServerStatusChangeListener();
</script>
</body>
-</html>
\ No newline at end of file
+</html>
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_readonly(mcServerInfo, "displayMode", mcServerInfo.displayMode, "object", null);
}, document.title);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_readonly(mcServerInfo, "displayRotation", mcServerInfo.displayRotation, "object", null);
}, document.title);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_extensibility(mcServerInfo);
}, document.title);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_getAllPlaylists</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_getAllPlaylists
-//==== LABEL Check if MediaControllerServerInfo getAllPlaylists method without optional argument works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MMINA
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, successCallback, retVal = null;
-
-t.step(function () {
- successCallback = t.step_func(function (playlists) {
- assert_equals(retVal, undefined, "getAllPlaylists should return undefined");
- t.done();
- });
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- serverInfo = mcClient.getLatestServerInfo();
- mcServer.createPlaylist("list");
- retVal = serverInfo.getAllPlaylists(successCallback);
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch
-//==== LABEL Check if getAllPlaylists throws exception when errorCallback is incorrect
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, conversionTable,
- exceptionName, i, successCallback, errorCallback;
-
-t.step(function () {
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- serverInfo = mcClient.getLatestServerInfo();
- mcServer.createPlaylist("list");
- conversionTable = getTypeConversionExceptions("functionObject", true);
-
- successCallback = t.step_func(function () {
- assert_unreached("getAllPlaylists() success callback should not be invoked.");
- });
-
- for (i = 0; i < conversionTable.length; i++) {
- errorCallback = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- serverInfo.getAllPlaylists(successCallback, errorCallback)
- }, "Given incorrect error callback.");
- }
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb
-//==== LABEL Check if getAllPlaylists throws exception when errorCallback is invalid
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTCB
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, successCallback, incorrectCallback;
-
-t.step(function () {
- incorrectCallback = {
- onerror: t.step_func(function (error) {
- assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
- })
- };
-
- successCallback = t.step_func(function () {
- assert_unreached("getAllPlaylists() success callback should not be invoked.");
- });
-
- mcServer = tizen.mediacontroller.createServer();
- mcServer.createPlaylist("list");
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- serverInfo = mcClient.getLatestServerInfo();
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- serverInfo.getAllPlaylists(successCallback, incorrectCallback);
- }, "Given incorrect errorCallback.");
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_getAllPlaylists_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_getAllPlaylists_exist
-//==== LABEL Check if getAllPlaylists exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer, mcClient, serverInfo;
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServer.createPlaylist("list");
- serverInfo = mcClient.getLatestServerInfo();
- check_method_exists(serverInfo, "getAllPlaylists");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_getAllPlaylists_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_getAllPlaylists_misarg
-//==== LABEL Check if getAllPlaylists method called with missing non-optional argument throws an exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- var mcServer, mcClient, serverInfo;
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServer.createPlaylist("list");
- serverInfo = mcClient.getLatestServerInfo();
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- serverInfo.getAllPlaylists();
- }, "Invoked without non-optional arguments.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch
-//==== LABEL Check if getAllPlaylists throws exception when successCallback is incorrect
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, conversionTable,
- exceptionName, i, successCallback;
-
-t.step(function () {
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServer.createPlaylist("list");
- serverInfo = mcClient.getLatestServerInfo();
- conversionTable = getTypeConversionExceptions("functionObject", true);
-
- for (i = 0; i < conversionTable.length; i++) {
- successCallback = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- serverInfo.getAllPlaylists(successCallback)
- }, "Given incorrect success callback.");
- }
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb
-//==== LABEL Check if getAllPlaylists throws exception when successCallback is invalid
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTCB
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, incorrectCallback;
-
-t.step(function () {
- incorrectCallback = {
- onsuccess: t.step_func(function () {
- assert_unreached("Invalid success callback invoked");
- })
- };
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- serverInfo = mcClient.getLatestServerInfo();
- mcServer.createPlaylist("list");
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- serverInfo.getAllPlaylists(incorrectCallback);
- }, "Given incorrect successCallback.");
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_getAllPlaylists_with_errorCallback</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_getAllPlaylists_with_errorCallback
-//==== LABEL Check if MediaControllerServerInfo getAllPlaylists method with all optional arguments works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MOA MR
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, successCallback,
- errorCallback, retVal = null;
-
-t.step(function () {
- errorCallback = t.step_func(function (error) {
- assert_unreached("getAllPlaylists() error callback should not be invoked:" + error.name + ": " + error.message);
- });
-
- successCallback = t.step_func(function () {
- assert_equals(retVal, undefined, "getAllPlaylists should return undefined");
- t.done();
- });
-
- mcServer = tizen.mediacontroller.createServer();
- mcServer.createPlaylist("list");
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- serverInfo = mcClient.getLatestServerInfo();
- retVal = serverInfo.getAllPlaylists(successCallback, errorCallback);
-});
-
-</script>
-</body>
-</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getPlaylist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getPlaylist
+//==== LABEL Check if MediaControllerServerInfo getPlaylist method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getPlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR
+
+test(function () {
+ var mcServer, playList, mcClient, mcServerInfo, retVal = null;
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer = tizen.mediacontroller.createServer();
+ playList = mcServer.playlists.createPlaylist("Music");
+ mcServer.playlists.savePlaylist(playList);
+ mcServerInfo = mcClient.getLatestServerInfo();
+ retVal = mcServerInfo.playlists.getPlaylist("Music");
+ assert_type(retVal, "object", "Invalid type of retVal");
+ assert_equals(retVal.name, "Music", "Invalid value of retVal");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getPlaylist_NotFoundError</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getPlaylist_NotFoundError
+//==== LABEL Check if MediaControllerServerInfo getPlaylist throws exception when playlist is not found
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getPlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer = tizen.mediacontroller.createServer();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(NOT_FOUND_EXCEPTION,
+ function () {
+ mcServerInfo.playlists.getPlaylist("Music");
+ }, "NotFoundError should be thrown");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getPlaylist_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getPlaylist_exist
+//==== LABEL Check if getPlaylist exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getPlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer = tizen.mediacontroller.createServer();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo.playlists, "getPlaylist");
+}, document.title);
+
+</script>
+</body>
+</html>
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_readonly(mcServerInfo, "mode360", mcServerInfo.mode360, "object", null);
}, document.title);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_readonly(mcServerInfo, "name", mcServerInfo.name, "string", null);
}, document.title);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_playbackInfo_attribute</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_playbackInfo_attribute
-//==== LABEL Check if attribute playbackInfo of MediaControllerServerInfo exists, has type MediaControllerPlaybackInfo and is readonly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:playbackInfo A
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-
-test(function () {
- var mcServer, mcClient, mcServerInfo;
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- assert_own_property(mcServerInfo, "playbackInfo", "mcServerInfo does not own playbackInfo property.");
- assert_type(mcServerInfo.playbackInfo, "object", "playbackInfo should be an object");
- mcServerInfo.playbackInfo = null;
- assert_not_equals(mcServerInfo.playbackInfo, null, "playbackInfo should not be modified");
-
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_playback_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_playback_attribute
+//==== LABEL Check if attribute playback of MediaControllerServerInfo exists, has type MediaControllerServerInfoPlaybackInfo and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:playback A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_own_property(mcServerInfo, "playback", "mcServerInfo does not own playback property.");
+ assert_type(mcServerInfo.playback, "object", "playback should be an object");
+ mcServerInfo.playback = null;
+ assert_not_equals(mcServerInfo.playback, null, "playback should not be modified");
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_playlists_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_playlists_attribute
+//==== LABEL Check if attribute playlists of MediaControllerServerInfo exists, has type object and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:playlists A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_readonly(mcServerInfo, "playlists", mcServerInfo.playlists, "object", null);
+}, document.title);
+
+</script>
+</body>
+</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_removePlaybackInfoChangeListener</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_removePlaybackInfoChangeListener
-//==== LABEL Check if MediaControllerServerInfo removePlaybackInfoChangeListener method works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaybackInfoChangeListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MAST
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, playbackListener, watchId, retVal = null;
-
-t.step(function () {
- playbackListener = {
- onplaybackchanged: t.step_func(function(state, position) {
- retVal = mcServerInfo.removePlaybackInfoChangeListener(watchId);
- assert_equals(retVal, undefined, "removePlaybackInfoChangeListener returns wrong value");
- try {
- mcServerInfo.removePlaybackInfoChangeListener(watchId);
- } catch(e) {
- assert_unreached("Calling removePlaybackInfoChangeListener twice should not throw an exception.");
- }
- t.done();
- })
- };
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- watchId = mcServerInfo.addPlaybackInfoChangeListener(playbackListener);
- mcServer.updatePlaybackState("STOP");
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_removePlaybackInfoChangeListener_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_removePlaybackInfoChangeListener_exist
-//==== LABEL check if removePlaybackInfoChangeListener exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaybackInfoChangeListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer, mcClient, mcServerInfo;
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- check_method_exists(mcServerInfo, "removePlaybackInfoChangeListener");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg
-//==== LABEL Check if removePlaybackInfoChangeListener method called with missing non-optional argument does not throw any exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaybackInfoChangeListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- var mcServer, mcClient, mcServerInfo;
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- try {
- mcServerInfo.removePlaybackInfoChangeListener();
- } catch(e) {
- assert_unreached("Calling removePlaybackInfoChangeListener without arguments should not throw an exception.");
- }
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Shanglong Yang <sl85.yang@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid
-//==== LABEL Check if removePlaybackInfoChangeListener method of MediaControllerServerInfo called with invalid value throws an exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaybackInfoChangeListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-test(function () {
- var mcServer, mcClient, mcServerInfo;
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- try {
- mcServerInfo.removePlaybackInfoChangeListener(-1);
- } catch (e) {
- assert_unreached("Should not throw exception, but threw " + e.name);
- }
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_removePlaylistUpdatedListener</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_removePlaylistUpdatedListener
-//==== LABEL Check if MediaControllerServerInfo removePlaylistUpdatedListener method works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaylistUpdatedListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MAST
-//==== 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.deletePlaylist("list");
- });
- ondelete = {
- onplaylistdeleted: t.step_func(function(playlistName) {
- retVal = mcServerInfo.removePlaylistUpdatedListener(watcherId);
- assert_equals(retVal, undefined, "return value should be undefined");
- t.done();
- })
- };
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- playlist = mcServer.createPlaylist("list");
- mcServer.savePlaylist(playlist);
- watcherId = mcServerInfo.addPlaylistUpdatedListener(ondelete);
-
- mcServer.deletePlaylist("list");
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_removePlaylistUpdatedListener_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_removePlaylistUpdatedListener_exist
-//==== LABEL check if removePlaylistUpdatedListener exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaylistUpdatedListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer, mcClient, mcServerInfo;
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- check_method_exists(mcServerInfo, "removePlaylistUpdatedListener");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_removePlaylistUpdatedListener_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_removePlaylistUpdatedListener_misarg
-//==== LABEL Check if removePlaylistUpdatedListener method called with missing non-optional argument does not throw any exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaylistUpdatedListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- var mcServer, mcClient, mcServerInfo;
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- try {
- mcServerInfo.removePlaylistUpdatedListener();
- } catch(e) {
- assert_unreached("Calling removePlaylistUpdatedListener without arguments should not throw an exception.");
- }
-}, document.title);
-
-</script>
-</body>
-</html>
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_method_exists(mcServerInfo, "removeServerStatusChangeListener");
}, document.title);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
try {
mcServerInfo.removeServerStatusChangeListener(-1);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
};
onsuccessCB = t.step_func(function (data){
assert_equals(retValue, undefined, "sendCommand returns wrong value");
- //Cannot receive object from commandreceivelistener due to test fw
- //assert_equals(data, reply, "Wrong data has been passed to sendCommand successcallback");
t.done();
});
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
watcherId = mcServer.addCommandListener(commandReceiveListener);
exampleCustomCommandData = new tizen.Bundle({myFilter: "rock"});
t.step(function () {
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
successCallback = t.step_func(function () {
t.step(function () {
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
exampleCustomCommandData = new tizen.Bundle({myFilter: "rock"});
t.step(function () {
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
exampleCustomCommandData = new tizen.Bundle({myFilter: "rock"});
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_method_exists(mcServerInfo, "sendCommand");
}, document.title);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
mcServerInfo.sendCommand();
</script>
</body>
-</html>
\ No newline at end of file
+</html>
t.step(function () {
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
exampleCustomCommandData = new tizen.Bundle({myFilter: "rock"});
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendPlaybackItem</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendPlaybackItem
-//==== LABEL Check if MediaControllerServerInfo sendPlaybackItem method without optional argument works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackItem M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR
-
-test(function () {
- var mcServer, mcClient, serverInfo, retVal = null;
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- serverInfo = mcClient.getLatestServerInfo();
- mcServer.createPlaylist("list");
- retVal = serverInfo.sendPlaybackItem("list", "1", "PLAY", 0);
- assert_equals(retVal, undefined, "sendPlaybackItem should return undefined");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendPlaybackItem_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendPlaybackItem_exist
-//==== LABEL Check if sendPlaybackItem exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackItem M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer, mcClient, serverInfo;
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServer.createPlaylist("list");
- serverInfo = mcClient.getLatestServerInfo();
- check_method_exists(serverInfo, "sendPlaybackItem");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
- <!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendPlaybackItem_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendPlaybackItem_misarg
-//==== LABEL Check if sendPlaybackItem method called with missing non-optional argument throws an exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackItem M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- var mcServer, mcClient, serverInfo;
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServer.createPlaylist("list");
- serverInfo = mcClient.getLatestServerInfo();
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- serverInfo.sendPlaybackItem();
- }, "Invoked without non-optional arguments.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch
-//==== LABEL Check if sendPlaybackItem throws exception when state is incorrect
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackItem M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, conversionTable,
- exceptionName, i, state;
-
-t.step(function () {
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- serverInfo = mcClient.getLatestServerInfo();
- mcServer.createPlaylist("list");
- conversionTable = getTypeConversionExceptions("enum", false);
-
- for (i = 0; i < conversionTable.length; i++) {
- state = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- serverInfo.sendPlaybackItem("list", "1", state, 0)
- }, "Given incorrect state.");
- }
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendPlaybackPosition</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendPlaybackPosition
-//==== LABEL Check if MediaControllerServerInfo sendPlaybackPosition method without optional argument works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MMINA
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, watcherId, successCallback,
- beforeposition, retVal = null, playbackRequestListener, flag = 0;
-
-t.step(function () {
- successCallback = t.step_func(function () {
- assert_equals(retVal, undefined, "sendPlaybackPosition should return undefined");
- if(++flag == 2) t.done();
- });
-
- playbackRequestListener = {
- onplaybackpositionrequest: t.step_func(function(position) {
- assert_type(position, "long", "position should be a long number");
- assert_greater_than_equal(position, beforeposition + 10, "position should be equal or bigger than set position");
- mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
- if(++flag == 2) t.done();
- })
- };
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- beforeposition = mcServer.playbackInfo.position;
- watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
- retVal = mcServerInfo.sendPlaybackPosition(beforeposition + 10, successCallback);
-});
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch
-//==== LABEL Check if sendPlaybackPosition throws exception when errorCallback is incorrect
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, conversionTable, exceptionName,
- i, successCallback, errorCallback;
-
-t.step(function () {
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- conversionTable = getTypeConversionExceptions("functionObject", true);
-
- successCallback = t.step_func(function () {
- assert_unreached("sendPlaybackPosition() success callback should not be invoked.");
- });
-
- for (i = 0; i < conversionTable.length; i++) {
- errorCallback = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServerInfo.sendPlaybackPosition(120, successCallback, errorCallback)
- }, "Given incorrect error callback.");
- }
- t.done();
-});
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb
-//==== LABEL Check if sendPlaybackPosition throws exception when errorCallback is invalid
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTCB
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, successCallback, incorrectCallback;
-
-t.step(function () {
- incorrectCallback = {
- onerror: t.step_func(function (error) {
- assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
- })
- };
-
- successCallback = t.step_func(function () {
- assert_unreached("sendPlaybackPosition() success callback should not be invoked.");
- });
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServerInfo.sendPlaybackPosition(120, successCallback, incorrectCallback);
- }, "Given incorrect errorCallback.");
- t.done();
-});
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendPlaybackPosition_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_exist
-//==== LABEL Check if sendPlaybackPosition exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer, mcClient, mcServerInfo;
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- check_method_exists(mcServerInfo, "sendPlaybackPosition");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendPlaybackPosition_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_misarg
-//==== LABEL Check if sendPlaybackPosition method called with missing non-optional argument does NOT throw an exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- var mcServer, mcClient, mcServerInfo;
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- try {
- mcServerInfo.sendPlaybackPosition();
- } catch(e) {
- assert_unreached("Should not throw any exception, but threw " + e.name + e.message);
- }
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch
-//==== LABEL Check if sendPlaybackPosition throws exception when successCallback is incorrect
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-var mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i, successCallback;
-
-test(function () {
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- conversionTable = getTypeConversionExceptions("functionObject", true);
-
- for (i = 0; i < conversionTable.length; i++) {
- successCallback = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServerInfo.sendPlaybackPosition(120, successCallback)
- }, "Given incorrect success callback.");
- }
-
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb
-//==== LABEL Check if sendPlaybackPosition throws exception when successCallback is invalid
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTCB
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, errorCallback, incorrectCallback;
-
-t.step(function () {
- incorrectCallback = {
- onsuccess: t.step_func(function () {
- assert_unreached("Invalid success callback invoked");
- })
- };
-
- errorCallback = t.step_func(function (error) {
- assert_unreached("sendPlaybackPosition() error callback should not be invoked:" + error.name + ": " + error.message);
- });
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServerInfo.sendPlaybackPosition(120, incorrectCallback, errorCallback);
- }, "Given incorrect successCallback.");
-
- t.done();
-});
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback
-//==== LABEL Check if MediaControllerServerInfo sendPlaybackPosition method with all optional arguments works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MOA MR
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, watcherId, beforeposition,
- successCallback, errorCallback, playbackRequestListener, retVal = null, flag = 0;
-
-t.step(function () {
- errorCallback = t.step_func(function (error) {
- assert_unreached("sendPlaybackPosition() error callback should not be invoked:" + error.name + ": " + error.message);
- });
-
- successCallback = t.step_func(function () {
- assert_equals(retVal, undefined, "sendPlaybackPosition should return undefined.");
- if(++flag == 2) t.done();
- });
-
- playbackRequestListener = {
- onplaybackpositionrequest: t.step_func(function(position) {
- assert_type(position, "long", "position should be a number.");
- assert_greater_than_equal(position, beforeposition + 10, "Should be equal or greater than set value");
- mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
- if(++flag == 2) t.done();
- })
- };
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- beforeposition = mcServer.playbackInfo.position;
- watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
- retVal = mcServerInfo.sendPlaybackPosition(beforeposition + 10, successCallback, errorCallback);
-});
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendPlaybackState</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendPlaybackState
-//==== LABEL Check if MediaControllerServerInfo sendPlaybackState method without optional argument works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MMINA
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, successCallback,
- watcherId, retVal = null, playbackRequestListener, flag = 0;
-
-t.step(function () {
- successCallback = t.step_func(function () {
- assert_equals(retVal, undefined, "sendPlaybackState should return undefined");
- if(++flag == 2) t.done();
- });
-
- playbackRequestListener = {
- onplaybackstaterequest: t.step_func(function(state) {
- assert_type(state, "string", "state should be a string");
- assert_equals(state, "STOP", "state be requested to change");
- mcServer.updatePlaybackState(state);
- mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
- if(++flag == 2) t.done();
- })
- };
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
- retVal = mcServerInfo.sendPlaybackState("STOP", successCallback);
-});
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch
-//==== LABEL Check if sendPlaybackState throws exception when errorCallback is incorrect
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, conversionTable,
- exceptionName, i, successCallback, errorCallback;
-
-t.step(function () {
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- conversionTable = getTypeConversionExceptions("functionObject", true);
-
- successCallback = t.step_func(function () {
- assert_unreached("sendPlaybackState() success callback should not be invoked.");
- });
-
- for (i = 0; i < conversionTable.length; i++) {
- errorCallback = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServerInfo.sendPlaybackState("STOP", successCallback, errorCallback)
- }, "Given incorrect error callback.");
- }
- t.done();
-});
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb
-//==== LABEL Check if sendPlaybackState throws exception when errorCallback is invalid
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTCB
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, successCallback, incorrectCallback;
-
-t.step(function () {
- incorrectCallback = {
- onerror: t.step_func(function (error) {
- assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
- })
- };
-
- successCallback = t.step_func(function () {
- assert_unreached("sendPlaybackState() success callback should not be invoked.");
- });
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServerInfo.sendPlaybackState("STOP", successCallback, incorrectCallback);
- }, "Given incorrect errorCallback.");
- t.done();
-});
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendPlaybackState_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendPlaybackState_exist
-//==== LABEL Check if sendPlaybackState exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer, mcClient, mcServerInfo;
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- check_method_exists(mcServerInfo, "sendPlaybackState");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendPlaybackState_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendPlaybackState_misarg
-//==== LABEL Check if sendPlaybackState method called with missing non-optional argument throws an exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- var mcServer, mcClient, mcServerInfo;
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServerInfo.sendPlaybackState();
- }, "Invoked without non-optional arguments.");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch
-//==== LABEL Check if sendPlaybackState throws exception when state is incorrect
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-var mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i;
-
-test(function () {
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- conversionTable = getTypeConversionExceptions("enum", false);
-
- for (i = 0; i < conversionTable.length; i++) {
- state = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServerInfo.sendPlaybackState(state)
- }, "Given incorrect state");
- }
-
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch
-//==== LABEL Check if sendPlaybackState throws exception when successCallback is incorrect
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-var mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i, successCallback;
-
-test(function () {
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- conversionTable = getTypeConversionExceptions("functionObject", true);
-
- for (i = 0; i < conversionTable.length; i++) {
- successCallback = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServerInfo.sendPlaybackState('PLAY', successCallback)
- }, "Given incorrect success callback.");
- }
-
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb
-//==== LABEL Check if sendPlaybackState throws exception when successCallback is invalid
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTCB
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcClient, mcServerInfo, incorrectCallback, errorCallback;
-
-t.step(function () {
- incorrectCallback = {
- onsuccess: t.step_func(function () {
- assert_unreached("Invalid success callback invoked");
- })
- };
-
- errorCallback = t.step_func(function (error) {
- assert_unreached("sendPlaybackState() error callback should not be invoked:" + error.name + ": " + error.message);
- });
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServerInfo.sendPlaybackState("PLAY", incorrectCallback, errorCallback);
- }, "Given incorrect successCallback.");
- t.done();
-});
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendPlaybackState_with_errorCallback</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendPlaybackState_with_errorCallback
-//==== LABEL Check if MediaControllerServerInfo sendPlaybackState method with all optional arguments works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MOA MR
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, successCallback,
- errorCallback, retVal = null, watcherId, playbackRequestListener, flag = 0;
-
-t.step(function () {
- errorCallback = t.step_func(function (error) {
- assert_unreached("sendPlaybackState() error callback should not be invoked:" + error.name + ": " + error.message);
- });
-
- successCallback = t.step_func(function () {
- assert_equals(retVal, undefined, "sendPlaybackState should return undefined");
- if (++flag == 2) t.done();
- });
-
- playbackRequestListener = {
- onplaybackstaterequest: t.step_func(function(state) {
- assert_type(state, "string", "state should be a string");
- assert_equals(state, "STOP", "state be requested to change");
- mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
- if (++flag == 2) t.done();
- })
- };
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
- retVal = mcServerInfo.sendPlaybackState("STOP", successCallback, errorCallback);
-});
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendRepeatState</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendRepeatState
-//==== LABEL Check if sendRepeatState() works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MMINA
-
-test(function () {
- var mcServer, mcClient, mcServerInfo, retValue = null;
-
- mcServer = tizen.mediacontroller.createServer();
- mcServer.updatePlaybackState("PLAY");
- mcClient = tizen.mediacontroller.getClient();
- mcServerInfo = mcClient.getLatestServerInfo();
- retValue = mcServerInfo.sendRepeatState("REPEAT_OFF");
- assert_equals(retValue, undefined, "sendRepeatState returns wrong value");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch
-//==== LABEL Check argument errorCallback conversions exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-//==== ONLOAD_DELAY 90
-
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), mcServer, mcClient, mcServerInfo, incorrectCallback,
- successCallback, exceptionName, i, conversionTable;
-
-t.step(function () {
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
-
- successCallback = t.step_func(function () {
- assert_unreached("sendRepeatState() success callback invoked");
- });
-
- conversionTable = getTypeConversionExceptions("functionObject", true);
-
- for (i = 0; i < conversionTable.length; i++) {
- incorrectCallback = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServerInfo.sendRepeatState("REPEAT_OFF", successCallback, incorrectCallback);
- }, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
- }
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb
-//==== LABEL Check if sendRepeatState throws exception when errorCallback is invalid
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTCB
-
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), exceptionName = "TypeMismatchError", mcServer, mcClient,
- mcServerInfo, onsuccessCB, incorrectCallback;
-
-t.step(function () {
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
-
- incorrectCallback = {
- onerror: t.step_func(function () {
- assert_unreached("sendRepeatState() invalid error callback invoked.");
- })
- };
-
- onsuccessCB = t.step_func(function () {
- assert_unreached("sendRepeatState() sucess callback invoked.");
- });
- assert_throws({name: exceptionName},
- function () {
- mcServerInfo.sendRepeatState("REPEAT_OFF", onsuccessCB, incorrectCallback);
- }, exceptionName + " should be thrown - given incorrect error callback");
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendRepeatState_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendRepeatState_exist
-//==== LABEL Check if method sendRepeatState of MediaControllerServerInfo exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer, mcClient, mcServerInfo;
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- check_method_exists(mcServerInfo, "sendRepeatState");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendRepeatState_state_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendRepeatState_state_TypeMismatch
-//==== LABEL Check argument state conversions exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-//==== ONLOAD_DELAY 90
-
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), mcServer, mcClient, mcServerInfo, state,
- exceptionName, i, conversionTable;
-
-t.step(function () {
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
-
- conversionTable = getTypeConversionExceptions("enum", false);
-
- for (i = 0; i < conversionTable.length; i++) {
- state = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServerInfo.sendRepeatState(state);
- }, exceptionName + " should be thrown - given incorrect state");
- }
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch
-//==== LABEL Check argument successCallback conversions exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState 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();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- conversionTable = getTypeConversionExceptions("functionObject", true);
-
- for (i = 0; i < conversionTable.length; i++) {
- incorrectCallback = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServerInfo.sendRepeatState("REPEAT_OFF", incorrectCallback);
- }, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
- }
-
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb
-//==== LABEL Check if sendRepeatState throws exception when successCallback is invalid
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTCB
-
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), exceptionName = "TypeMismatchError", mcServer, mcClient,
- mcServerInfo, incorrectCallback;
-
-t.step(function () {
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- incorrectCallback = {
- onsuccess: t.step_func(function () {
- assert_unreached("sendRepeatState() success callback invoked.");
- })
- };
-
- assert_throws({name: exceptionName},
- function () {
- mcServerInfo.sendRepeatState("REPEAT_OFF", incorrectCallback);
- }, exceptionName + " should be thrown - given incorrect success callback");
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendRepeatState_with_errorCallback</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendRepeatState_with_errorCallback
-//==== LABEL Check if sendRepeatState method works properly with errorCallback argument
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MOA MR
-
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), mcClient, mcServer, mcServerInfo,
- onsuccessCB, onerrorCB, retValue = null;
-
-t.step(function () {
- onsuccessCB = t.step_func(function (){
- assert_equals(retValue, undefined, "sendRepeatState returns wrong value");
- t.done();
- });
-
- onerrorCB = t.step_func(function (error) {
- assert_unreached("errorCallback is invoked");
- });
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- retValue = mcServerInfo.sendRepeatMode("REPEAT_OFF", onsuccessCB, onerrorCB);
-});
-
-</script>
-</body>
-</html>
mcServer = tizen.mediacontroller.createServer();
mcServer.setSearchRequestListener(searchRequestListener);
- mcServer.updatePlaybackState("PLAY");
mcClient = tizen.mediacontroller.getClient();
mcServerInfo = mcClient.getLatestServerInfo();
retValue = mcServerInfo.sendSearchRequest(query, replyCallback);
t.step(function () {
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
replyCallback = t.step_func(function () {
t.step(function () {
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
incorrectCallback = {
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_method_exists(mcServerInfo, "sendSearchRequest");
}, document.title);
test(function () {
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
conversionTable = getTypeConversionExceptions("functionObject", false);
t.step(function () {
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
incorrectCallback = {
onsuccess: t.step_func(function () {
t.step(function () {
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
conversionTable = getTypeConversionExceptions("object", false);
t.step(function () {
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
request = [];
mcServer = tizen.mediacontroller.createServer();
mcServer.setSearchRequestListener(searchRequestListener);
- mcServer.updatePlaybackState("PLAY");
mcClient = tizen.mediacontroller.getClient();
mcServerInfo = mcClient.getLatestServerInfo();
retValue = mcServerInfo.sendSearchRequest(query, replyCallback, errorCallback);
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendShuffleMode</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendShuffleMode
-//==== LABEL Check if MediaControllerServerInfo sendShuffleMode method without optional argument works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MMINA
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, successCallback, retVal = null,
- beforemode, watcherId, playbackRequestListener, flag = 0;
-
-t.step(function () {
- successCallback = t.step_func(function () {
- assert_equals(retVal, undefined, "sendShuffleMode should return undefined");
- if (++flag == 2) t.done();
- });
-
- playbackRequestListener = {
- onshufflemoderequest: t.step_func(function(mode) {
- assert_type(mode, "boolean", "shuffleMode should be a boolean");
- assert_equals(mode, !beforemode, "shuffleMode be requested to change");
- mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
- if (++flag == 2) t.done();
- })
- };
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- beforemode = mcServer.playbackInfo.shuffleMode;
- watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
- retVal = mcServerInfo.sendShuffleMode(!beforemode, successCallback);
-});
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch
-//==== LABEL Check if sendShuffleMode throws exception when errorCallback is incorrect
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i, successCallback, errorCallback;
-
-t.step(function () {
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- conversionTable = getTypeConversionExceptions("functionObject", true);
-
- successCallback = t.step_func(function () {
- assert_unreached("sendShuffleMode() success callback should not be invoked.");
- });
-
- for (i = 0; i < conversionTable.length; i++) {
- errorCallback = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServerInfo.sendShuffleMode(true, successCallback, errorCallback)
- }, "Given incorrect error callback.");
- }
- t.done();
-});
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb
-//==== LABEL Check if sendShuffleMode throws exception when errorCallback is invalid
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTCB
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, successCallback, incorrectCallback;
-
-t.step(function () {
- incorrectCallback = {
- onerror: t.step_func(function (error) {
- assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
- })
- };
-
- successCallback = t.step_func(function () {
- assert_unreached("sendShuffleMode() success callback should not be invoked.");
- });
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServerInfo.sendShuffleMode(true, successCallback, incorrectCallback);
- }, "Given incorrect errorCallback.");
-
- t.done();
-});
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendShuffleMode_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendShuffleMode_exist
-//==== LABEL Check if sendShuffleMode exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer, mcClient, mcServerInfo;
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- check_method_exists(mcServerInfo, "sendShuffleMode");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch
-//==== LABEL Check if sendShuffleMode throws exception when successCallback is incorrect
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-var mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i, successCallback;
-
-test(function () {
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- conversionTable = getTypeConversionExceptions("functionObject", true);
-
- for (i = 0; i < conversionTable.length; i++) {
- successCallback = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServerInfo.sendShuffleMode(true, successCallback)
- }, "Given incorrect success callback.");
- }
-
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb
-//==== LABEL Check if sendShuffleMode throws exception when successCallback is invalid
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTCB
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcClient, mcServerInfo, errorCallback, incorrectCallback;
-
-t.step(function () {
- incorrectCallback = {
- onsuccess: t.step_func(function () {
- assert_unreached("Invalid success callback invoked");
- })
- };
-
- errorCallback = t.step_func(function (error) {
- assert_unreached("sendShuffleMode() error callback should not be invoked:" + error.name + ": " + error.message);
- });
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServerInfo.sendShuffleMode(true, incorrectCallback, errorCallback);
- }, "Given incorrect successCallback.");
-
- t.done();
-});
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServerInfo_sendShuffleMode_with_errorCallback</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServerInfo_sendShuffleMode_with_errorCallback
-//==== LABEL Check if MediaControllerServerInfo sendShuffleMode method with all optional arguments works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MOA MR
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, successCallback, errorCallback, retVal = null, beforemode, watcherId, playbackRequestListener, flag = 0;
-
-t.step(function () {
- errorCallback = t.step_func(function (error) {
- assert_unreached("sendShuffleMode() error callback should not be invoked:" + error.name + ": " + error.message);
- });
-
- successCallback = t.step_func(function () {
- assert_equals(retVal, undefined, "sendShuffleMode should return undefined");
- if (++flag == 2) t.done();
- });
-
- playbackRequestListener = {
- onshufflemoderequest: t.step_func(function(mode) {
- assert_type(mode, "boolean", "shuffleMode should be a boolean");
- assert_equals(mode, !beforemode, "shuffleMode be requested to change");
- mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
- if (++flag == 2) t.done();
- })
- };
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- beforemode = mcServer.playbackInfo.shuffleMode;
- watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
- retVal = mcServerInfo.sendShuffleMode(!beforemode, successCallback, errorCallback);
-});
-
-</script>
-</body>
-</html>
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_readonly(mcServerInfo, "subtitles", mcServerInfo.subtitles, "object", null);
}, document.title);
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_addChangeRequestListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_addChangeRequestListener
+//==== LABEL Check if addChangeRequestListener() works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:addChangeRequestListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), watchId = null, mcServer, changeListener, mcClient, mcServerInfo;
+
+t.step(function () {
+ add_result_callback(function(){
+ mcServer.playback.removeChangeRequestListener(watchId);
+ });
+ changeListener = {
+ onplaybackactionrequest: t.step_func(function(action, clientName) {
+ assert_type(watchId, "long", "watcherId should be a number");
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watchId = mcServer.playback.addChangeRequestListener(changeListener);
+ mcServerInfo.playback.sendPlaybackAction("STOP");
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_addChangeRequestListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_addChangeRequestListener_exist
+//==== LABEL Check if method addChangeRequestListener of MediaControllerServerPlaybackInfo exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:addChangeRequestListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer;
+ mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer.playback, "addChangeRequestListener");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_addChangeRequestListener_listener_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_addChangeRequestListener_listener_TypeMismatch
+//==== LABEL Check argument listener conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:addChangeRequestListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, incorrectCallback, exceptionName, i, conversionTable;
+ mcServer = tizen.mediacontroller.createServer();
+ conversionTable = getTypeConversionExceptions("object", false);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ incorrectCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.playback.addChangeRequestListener(incorrectCallback);
+ }, "Exception should be thrown - given incorrect callback");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_addChangeRequestListener_listener_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_addChangeRequestListener_listener_invalid
+//==== LABEL Check if addChangeRequestListener throws exception when callback is invalid listener
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:addChangeRequestListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTL
+
+test(function () {
+ var mcServer, changeListener, exceptionName, incorrectListener, i;
+ mcServer = tizen.mediacontroller.createServer();
+ incorrectListener = getListenerConversionExceptions(["onplaybackactionrequest", "onplaybackpositionrequest", "onshufflemoderequest", "onrepeatstaterequest","onplaybackitemrequest"]);
+
+ for (i = 0; i < incorrectListener.length; i++) {
+ changeListener = incorrectListener[i][0];
+ exceptionName = incorrectListener[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.playback.addChangeRequestListener(changeListener);
+ }, "Exception should be thrown - given incorrect listener.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_addChangeRequestListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_addChangeRequestListener_misarg
+//==== LABEL Check if addChangeRequestListener method of MediaControllerServerPlaybackInfo called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:addChangeRequestListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+ mcServer = tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.playback.addChangeRequestListener();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_ageRating_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_ageRating_TypeMismatch
+//==== LABEL Check argument ageRating conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:ageRating A
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, conversionTable, exceptionName, value, i;
+
+ mcServer= tizen.mediacontroller.createServer();
+ conversionTable = getTypeConversionExceptions("enum", false);
+ for (i = 0; i < conversionTable.length; i++) {
+ value = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.playback.ageRating = value;
+ }, "TypeMismatchError should be thrown");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_ageRating_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_ageRating_attribute
+//==== LABEL Check if attribute ageRating of MediaControllerServerPlaybackInfo exists, has type string
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:ageRating A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG AVL
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer(), age;
+ check_attribute(mcServer.playback, "ageRating", mcServer.playback.ageRating, "string", "19");
+ assert_in_array(mcServer.playback.ageRating, ["ALL", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19"], "Incorrect value of type");
+ mcServer.playback.ageRating = "ALL";
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_contentType_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_contentType_TypeMismatch
+//==== LABEL Check argument contentType conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:contentType A
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, conversionTable, exceptionName, value, i;
+
+ mcServer= tizen.mediacontroller.createServer();
+ conversionTable = getTypeConversionExceptions("enum", false);
+ for (i = 0; i < conversionTable.length; i++) {
+ value = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.playback.contentType = value;
+ }, "TypeMismatchError should be thrown");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_contentType_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_contentType_attribute
+//==== LABEL Check if attribute contentType of MediaControllerServerPlaybackInfo exists, has type string
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:contentType A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG AVL
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_attribute(mcServer.playback, "contentType", mcServer.playback.contentType, "string", "OTHER");
+ assert_in_array(mcServer.playback.contentType, ["IMAGE", "MUSIC", "VIDEO", "OTHER", "UNDECIDED"], "Incorrect value of type");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_extend</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_extend
+//==== LABEL Check if MediaControllerServerPlaybackInfo object is extendable
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:MediaControllerServerPlaybackInfo U
+//==== SPEC_URL TBD
+//==== PRIORITY P3
+//==== TEST_CRITERIA OBX
+
+test(function () {
+ var mcServer;
+ mcServer = tizen.mediacontroller.createServer();
+ check_extensibility(mcServer.playback);
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_index_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_index_attribute
+//==== LABEL Check if attribute index of MediaControllerServerPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:index A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_readonly(mcServer.playback, "index", mcServer.playback.index, "string", "A");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_metadata_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_metadata_attribute
+//==== LABEL Check if attribute metadata of MediaControllerPlaybackInfo exists, has type object and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:metadata A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_readonly(mcServer.playbackInfo, "metadata", mcServer.playbackInfo.metadata, "object", null);
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_notexist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_notexist
+//==== LABEL Check if interface MediaControllerServerPlaybackInfo exists, it should not.
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:MediaControllerServerPlaybackInfo U
+//==== SPEC_URL TBD
+//==== PRIORITY P3
+//==== TEST_CRITERIA NIO
+
+test(function () {
+ check_no_interface_object("MediaControllerServerPlaybackInfo");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_playlistName_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_playlistName_attribute
+//==== LABEL Check if attribute playlistName of MediaControllerServerPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:playlistName A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_readonly(mcServer.playback, "playlistName", mcServer.playback.playlistName, "string", "A");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_position_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_position_attribute
+//==== LABEL Check if attribute position of MediaControllerServerPlaybackInfo exists, has type long
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:position A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_attribute(mcServer.playback, "position", mcServer.playback.position, "long", 100);
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_position_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_position_invalid
+//==== LABEL Check MediaControllerServerPlaybackInfo throws exception with invalid position value
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:position A
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer;
+ mcServer= tizen.mediacontroller.createServer();
+ assert_throws(INVALID_VALUES_EXCEPTION,
+ function () {
+ mcServer.playback.position = -10;
+ }, "InvalidValuesError should be thrown");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_removeChangeRequestListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_removeChangeRequestListener
+//==== LABEL Check if MediaControllerServerPlaybackInfo removeChangeRequestListener method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:removeChangeRequestListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), retValue = null, watchId = null, mcServer, changeListener, mcClient, mcServerInfo;
+
+t.step(function () {
+ add_result_callback(function(){
+ mcServer.playback.removeChangeRequestListener(watchId);
+ });
+ changeListener = {
+ onplaybackactionrequest: t.step_func(function(action, clientName) {
+ retValue = mcServer.playback.removeChangeRequestListener(watchId);
+ assert_equals(retValue, undefined, "return value should be undefined");
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watchId = mcServer.playback.addChangeRequestListener(changeListener);
+ mcServerInfo.playback.sendPlaybackAction("STOP");
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_removeChangeRequestListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_removeChangeRequestListener_exist
+//==== LABEL check if removeChangeRequestListener exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:removeChangeRequestListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer;
+ mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer.playback, "removeChangeRequestListener");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_removeChangeRequestListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_removeChangeRequestListener_misarg
+//==== LABEL Check if removeChangeRequestListener method called with missing non-optional argument does not throw any exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:removeChangeRequestListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+ mcServer = tizen.mediacontroller.createServer();
+ try {
+ mcServer.playback.removeChangeRequestListener();
+ } catch(e) {
+ assert_unreached("Calling removeChangeRequestListener without arguments should not throw an exception.");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_repeatState_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_repeatState_TypeMismatch
+//==== LABEL Check argument repeatState conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:repeatState A
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, conversionTable, exceptionName, value, i;
+
+ mcServer= tizen.mediacontroller.createServer();
+ conversionTable = getTypeConversionExceptions("enum", false);
+ for (i = 0; i < conversionTable.length; i++) {
+ value = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.playback.repeatState = value;
+ }, "TypeMismatchError should be thrown");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_repeatState_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_repeatState_attribute
+//==== LABEL Check if attribute repeatState of MediaControllerServerPlaybackInfo exists, has type string
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:repeatState A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+ var mcServer;
+
+ mcServer= tizen.mediacontroller.createServer();
+ check_attribute(mcServer.playback, "repeatState", mcServer.playback.repeatState, "string", "REPEAT_ONE");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_shuffleMode_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_shuffleMode_attribute
+//==== LABEL Check if attribute shuffleMode of MediaControllerServerPlaybackInfo exists, has type boolean
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:shuffleMode A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+ var mcServer, beforemode;
+
+ mcServer = tizen.mediacontroller.createServer();
+ beforemode = mcServer.playback.shuffleMode;
+ check_attribute(mcServer.playback, "shuffleMode", mcServer.playback.shuffleMode, "boolean", !beforemode);
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_state_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_state_TypeMismatch
+//==== LABEL Check argument state conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:state A
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, conversionTable, exceptionName, value, i;
+
+ mcServer= tizen.mediacontroller.createServer();
+ conversionTable = getTypeConversionExceptions("enum", false);
+ for (i = 0; i < conversionTable.length; i++) {
+ value = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.playback.state = value;
+ }, "TypeMismatchError should be thrown");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_state_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_state_attribute
+//==== LABEL Check if attribute state of MediaControllerServerPlaybackInfo exists, has type string
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:state A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG AVL
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_attribute(mcServer.playback, "state", mcServer.playback.state, "string", "FORWARD");
+ assert_in_array(mcServer.playback.state, ["PLAY", "PAUSE", "STOP", "NEXT", "PREV", "FORWARD", "REWIND"], "Incorrect value of type");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_updatePlaybackItem</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_updatePlaybackItem
+//==== LABEL Check if MediaControllerServerPlaybackInfo updatePlaybackItem method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:updatePlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, metadata, playlist, retVal = null;
+
+ mcServer= tizen.mediacontroller.createServer();
+ playlist = mcServer.playlists.createPlaylist("PlayList");
+ metadata =
+ {
+ title: "testTitle"
+ };
+ playlist.addItem("index1", metadata);
+ mcServer.playlists.savePlaylist(playlist);
+ retVal = mcServer.playback.updatePlaybackItem("PlayList", "index1");
+ assert_equals(retVal, undefined, "updatePlaybackItem returns wrong value");
+ assert_equals(mcServer.playbackInfo.index, "index1", "update index failed");
+ mcServer.playlists.deletePlaylist("PlayList");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerPlaybackInfo_updatePlaybackItem_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerPlaybackInfo_updatePlaybackItem_exist
+//==== LABEL Check if method updatePlaybackItem of MediaControllerServerPlaybackInfo exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerPlaybackInfo:updatePlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer.playback, "updatePlaybackItem");
+}, document.title);
+
+</script>
+</body>
+</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Shanglong Yang <sl85.yang@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_addChangeRequestPlaybackInfoListener</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_addChangeRequestPlaybackInfoListener
-//==== LABEL Check if addChangeRequestPlaybackInfoListener() works properly
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:addChangeRequestPlaybackInfoListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MAST
-
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), watcherId, mcServer, mcClient, mcServerInfo, playbackRequestListener;
-
-t.step(function () {
- playbackRequestListener = {
- onplaybackpositionrequest: t.step_func(function (position) {
- assert_not_equals(watcherId, null, "id should be not null");
- assert_type(watcherId, "long", "watcherId should be type of number");
- mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
- t.done();
- })
- };
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServerInfo = mcClient.getLatestServerInfo();
- watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
- mcServerInfo.sendPlaybackPosition(164);
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Shanglong Yang <sl85.yang@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_addChangeRequestPlaybackInfoListener_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_addChangeRequestPlaybackInfoListener_exist
-//==== LABEL Check if method addChangeRequestPlaybackInfoListener of MediaControllerServer exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:addChangeRequestPlaybackInfoListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer = tizen.mediacontroller.createServer();
-
- check_method_exists(mcServer, "addChangeRequestPlaybackInfoListener");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2014 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Author:
- Shanglong Yang <sl85.yang@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch
-//==== LABEL Check if addChangeRequestPlaybackInfoListener throws exception when listener is incorrect
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:addChangeRequestPlaybackInfoListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-var mcServer, playbackRequestListener, exceptionName, i, conversionTable;
-
-test(function () {
- mcServer = tizen.mediacontroller.createServer();
- conversionTable = getTypeConversionExceptions("object", false);
-
- for (i = 0; i < conversionTable.length; i++) {
- playbackRequestListener = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
- }, exceptionName + " should be thrown - given incorrect success callback.");
- }
-
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Shanglong Yang <sl85.yang@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid
-//==== LABEL Check if addChangeRequestPlaybackInfoListener throws exception when callback is inavlid listener
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:addChangeRequestPlaybackInfoListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTL
-
-var mcServer, playbackRequestListener, incorrectListener, exceptionName, i;
-
-test(function () {
- mcServer = tizen.mediacontroller.createServer();
- incorrectListener = getListenerConversionExceptions(["onplaybackstaterequest", "onplaybackpositionrequest",
- "onshufflemoderequest", "onrepeatmoderequest"]);
-
- for (i = 0; i < incorrectListener.length; i++) {
- playbackRequestListener = incorrectListener[i][0];
- exceptionName = incorrectListener[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
- }, exceptionName + " should be thrown - given incorrect success callback.");
- }
-
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Shanglong Yang <sl85.yang@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg
-//==== LABEL Check if addChangeRequestPlaybackInfoListener method of MediaControllerServer called with missing non-optional argument throws an exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:addChangeRequestPlaybackInfoListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- var mcServer = tizen.mediacontroller.createServer();
-
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServer.addChangeRequestPlaybackInfoListener();
- }, "Invoked without non-optional arguments.");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
watcherId = mcServer.addCommandListener(commandReceiveListener);
exampleCustomCommandData = new tizen.Bundle({myFilter: "rock"});
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_createPlaylist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_createPlaylist
-//==== LABEL Check if MediaControllerServer createPlaylist method works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:createPlaylist M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MAST
-
-test(function () {
- var mcServer, retVal = null;
-
- mcServer = tizen.mediacontroller.createServer();
- retVal = mcServer.createPlaylist("PlayList");
- assert_type(retVal, "object", "createPlaylist should return object")
- assert_equals(retVal.name, "PlayList", "invalid name in return object");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_createPlaylist_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_createPlaylist_exist
-//==== LABEL Check if method createPlaylist of MediaControllerServer exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:createPlaylist M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer = tizen.mediacontroller.createServer();
- check_method_exists(mcServer, "createPlaylist");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_createPlaylist_invalid</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_createPlaylist_invalid
-//==== LABEL Check if createPlaylist thrown invalid exception when playlist name already exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:createPlaylist M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-test(function () {
- var mcServer;
-
- mcServer = tizen.mediacontroller.createServer();
- mcServer.createPlaylist("PlayList");
- assert_throws(INVALID_VALUES_EXCEPTION,
- function () {
- mcServer.createPlaylist("PlayList");
- }, "InvalidValuesError should be thrown.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_deletePlaylist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_deletePlaylist
-//==== LABEL Check if MediaControllerServer deletePlaylist method without optional argument works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MMINA
-
-test(function () {
- var mcServer, retValue = null;
- mcServer = tizen.mediacontroller.createServer();
- mcServer.createPlaylist("list");
- retValue = mcServer.deletePlaylist("list");
- assert_equals(retValue, undefined, "deletePlaylist returns wrong value");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch
-//==== LABEL Check if deletePlaylist throws exception when errorCallback is incorrect
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, conversionTable,
- exceptionName, i, successCallback, errorCallback;
-
-t.step(function () {
- mcServer = tizen.mediacontroller.createServer();
- mcServer.createPlaylist("list");
- conversionTable = getTypeConversionExceptions("functionObject", true);
-
- successCallback = t.step_func(function () {
- assert_unreached("deletePlaylist() success callback should not be invoked.");
- });
-
- for (i = 0; i < conversionTable.length; i++) {
- errorCallback = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServer.deletePlaylist("list", successCallback, errorCallback)
- }, "Given incorrect error callback.");
- }
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_deletePlaylist_errorCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_deletePlaylist_errorCallback_invalid_cb
-//==== LABEL Check if deletePlaylist throws exception when errorCallback is invalid
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTCB
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback, incorrectCallback;
-
-t.step(function () {
- incorrectCallback = {
- onerror: t.step_func(function (error) {
- assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
- })
- };
-
- successCallback = t.step_func(function () {
- assert_unreached("deletePlaylist() success callback should not be invoked.");
- });
-
- mcServer = tizen.mediacontroller.createServer();
- mcServer.createPlaylist("list");
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServer.deletePlaylist("list", successCallback, incorrectCallback);
- }, "Given incorrect errorCallback.");
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_deletePlaylist_errorCallback_invoke</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_deletePlaylist_errorCallback_invoke
-//==== LABEL Check if errorCallback invoked when playlist with given name does not exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MERRCB
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback,
- errorCallback;
-
-t.step(function () {
- errorCallback = t.step_func(function (error) {
- assert_equals(error.name, "InvalidValuesError", "Invalid error name returned");
- t.done();
- });
-
- successCallback = t.step_func(function () {
- assert_unreached("deletePlaylist() successCallback should not be invoked");
- });
-
- mcServer = tizen.mediacontroller.createServer();
- mcServer.deletePlaylist("list", successCallback, errorCallback);
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_deletePlaylist_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_deletePlaylist_exist
-//==== LABEL Check if deletePlaylist exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer;
-
- mcServer = tizen.mediacontroller.createServer();
- check_method_exists(mcServer, "deletePlaylist");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_deletePlaylist_successCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_deletePlaylist_successCallback_TypeMismatch
-//==== LABEL Check if deletePlaylist throws exception when successCallback is incorrect
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, conversionTable,
- exceptionName, i, successCallback;
-
-t.step(function () {
- mcServer = tizen.mediacontroller.createServer();
- mcServer.createPlaylist("list");
- conversionTable = getTypeConversionExceptions("functionObject", true);
-
- for (i = 0; i < conversionTable.length; i++) {
- successCallback = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServer.savePlaylist("list", successCallback)
- }, "Given incorrect success callback.");
- }
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_deletePlaylist_successCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_deletePlaylist_successCallback_invalid_cb
-//==== LABEL Check if deletePlaylist throws exception when successCallback is invalid
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTCB
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, incorrectCallback;
-
-t.step(function () {
- incorrectCallback = {
- onsuccess: t.step_func(function () {
- assert_unreached("Invalid success callback invoked");
- })
- };
-
- mcServer = tizen.mediacontroller.createServer();
- mcServer.createPlaylist("list");
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServer.deletePlaylist("list", incorrectCallback);
- }, "Given incorrect successCallback.");
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_deletePlaylist_with_errorCallback</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_deletePlaylist_with_errorCallback
-//==== LABEL Check if MediaControllerServer deletePlaylist method with all optional arguments works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MOA MR
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback,
- errorCallback, retVal = null;
-
-t.step(function () {
- errorCallback = t.step_func(function (error) {
- assert_unreached("deletePlaylist() error callback should not be invoked:" + error.name + ": " + error.message);
- });
-
- successCallback = t.step_func(function () {
- assert_equals(retVal, undefined, "deletePlaylist should return undefined");
- t.done();
- });
-
- mcServer = tizen.mediacontroller.createServer();
- mcServer.createPlaylist("list");
- retVal = mcServer.deletePlaylist("list", successCallback, errorCallback);
-});
-
-</script>
-</body>
-</html>
mcClient = tizen.mediacontroller.getClient();
mcServer = tizen.mediacontroller.createServer();
- mcServer.updatePlaybackState("PLAY");
retValue = mcServer.getAllClientsInfo();
assert_type(retValue, "array", "Invalid type of return value");
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_getAllPlaylists</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_getAllPlaylists
-//==== LABEL Check if MediaControllerServer getAllPlaylists method without optional argument works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MMINA
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback, retVal = null;
-
-t.step(function () {
- successCallback = t.step_func(function (playlists) {
- assert_equals(retVal, undefined, "getAllPlaylists should return undefined");
- t.done();
- });
- mcServer = tizen.mediacontroller.createServer();
- mcServer.createPlaylist("list");
- retVal = mcServer.getAllPlaylists(successCallback);
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch
-//==== LABEL Check if getAllPlaylists throws exception when errorCallback is incorrect
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, conversionTable,
- exceptionName, i, successCallback, errorCallback;
-
-t.step(function () {
- mcServer = tizen.mediacontroller.createServer();
- mcServer.createPlaylist("list");
- conversionTable = getTypeConversionExceptions("functionObject", true);
-
- successCallback = t.step_func(function () {
- assert_unreached("getAllPlaylists() success callback should not be invoked.");
- });
-
- for (i = 0; i < conversionTable.length; i++) {
- errorCallback = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServer.getAllPlaylists(successCallback, errorCallback)
- }, "Given incorrect error callback.");
- }
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb
-//==== LABEL Check if getAllPlaylists throws exception when errorCallback is invalid
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTCB
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback, incorrectCallback;
-
-t.step(function () {
- incorrectCallback = {
- onerror: t.step_func(function (error) {
- assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
- })
- };
-
- successCallback = t.step_func(function () {
- assert_unreached("getAllPlaylists() success callback should not be invoked.");
- });
-
- mcServer = tizen.mediacontroller.createServer();
- mcServer.createPlaylist("list");
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServer.getAllPlaylists(successCallback, incorrectCallback);
- }, "Given incorrect errorCallback.");
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_getAllPlaylists_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_getAllPlaylists_exist
-//==== LABEL Check if getAllPlaylists exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer;
-
- mcServer = tizen.mediacontroller.createServer();
- check_method_exists(mcServer, "getAllPlaylists");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_getAllPlaylists_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_getAllPlaylists_misarg
-//==== LABEL Check if getAllPlaylists method called with missing non-optional argument throws an exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- var mcServer;
-
- mcServer = tizen.mediacontroller.createServer();
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServer.getAllPlaylists();
- }, "Invoked without non-optional arguments.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch
-//==== LABEL Check if getAllPlaylists throws exception when successCallback is incorrect
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, conversionTable,
- exceptionName, i, successCallback;
-
-t.step(function () {
- mcServer = tizen.mediacontroller.createServer();
- mcServer.createPlaylist("list");
- conversionTable = getTypeConversionExceptions("functionObject", true);
-
- for (i = 0; i < conversionTable.length; i++) {
- successCallback = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServer.getAllPlaylists(successCallback)
- }, "Given incorrect success callback.");
- }
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_getAllPlaylists_successCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_getAllPlaylists_successCallback_invalid_cb
-//==== LABEL Check if getAllPlaylists throws exception when successCallback is invalid
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTCB
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, incorrectCallback;
-
-t.step(function () {
- incorrectCallback = {
- onsuccess: t.step_func(function () {
- assert_unreached("Invalid success callback invoked");
- })
- };
-
- mcServer = tizen.mediacontroller.createServer();
- mcServer.createPlaylist("list");
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServer.getAllPlaylists(incorrectCallback);
- }, "Given incorrect successCallback.");
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_getAllPlaylists_with_errorCallback</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_getAllPlaylists_with_errorCallback
-//==== LABEL Check if MediaControllerServer getAllPlaylists method with all optional arguments works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MOA MR
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback,
- errorCallback, retVal = null;
-
-t.step(function () {
- errorCallback = t.step_func(function (error) {
- assert_unreached("getAllPlaylists() error callback should not be invoked:" + error.name + ": " + error.message);
- });
-
- successCallback = t.step_func(function () {
- assert_equals(retVal, undefined, "getAllPlaylists should return undefined");
- t.done();
- });
-
- mcServer = tizen.mediacontroller.createServer();
- mcServer.createPlaylist("list");
- retVal = mcServer.getAllPlaylists(successCallback, errorCallback);
-});
-
-</script>
-</body>
-</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getPlaylist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getPlaylist
+//==== LABEL Check if MediaControllerServer getPlaylist method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getPlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, playList, retVal = null;
+
+ mcServer = tizen.mediacontroller.createServer();
+ playList = mcServer.playlists.createPlaylist("Music");
+ mcServer.playlists.savePlaylist(playList);
+ retVal = mcServer.playlists.getPlaylist("Music");
+ assert_type(retVal, "object", "Invalid type of retVal");
+ assert_equals(retVal.name, "Music", "Invalid value of retVal");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getPlaylist_NotFoundError</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getPlaylist_NotFoundError
+//==== LABEL Check if MediaControllerServer getPlaylist throws exception when playlist is not found
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getPlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ assert_throws(NOT_FOUND_EXCEPTION,
+ function () {
+ mcServer.playlists.getPlaylist("Music");
+ }, "NotFoundError should be thrown");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getPlaylist_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getPlaylist_exist
+//==== LABEL Check if getPlaylist exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getPlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer.playlists, "getPlaylist");
+}, document.title);
+
+</script>
+</body>
+</html>
<div id="log"></div>
<script>
//==== TEST: MediaControllerServer_iconURI_attribute
-//==== LABEL Check if attribute iconURI of MediaControllerServer exists, has type string and is readonly
+//==== LABEL Check if attribute iconURI of MediaControllerServer exists, has type string
//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:iconURI A
//==== SPEC_URL TBD
//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
+//==== TEST_CRITERIA AE AT ASG ADV
test(function () {
var mcServer= tizen.mediacontroller.createServer();
- check_readonly(mcServer, "iconURI", mcServer.iconURI, "string", "test");
+ check_attribute(mcServer, "iconURI", null, "string", "test");
+ mcServer.iconURI = null;
}, document.title);
</script>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_playbackInfo_attribute</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_playbackInfo_attribute
-//==== LABEL Check if attribute playbackInfo of MediaControllerServer exists, has type MediaControllerPlaybackInfo and is readonly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:playbackInfo A
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-
-test(function () {
- var mcServer= tizen.mediacontroller.createServer();
- check_readonly(mcServer, "playbackInfo", mcServer.playbackInfo, "object", null);
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_playback_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_playback_attribute
+//==== LABEL Check if attribute playback of MediaControllerServer exists, has type MediaControllerServerPlaybackInfo and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:playback A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_readonly(mcServer, "playback", mcServer.playback, "object", null);
+}, document.title);
+
+</script>
+</body>
+</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Shanglong Yang <sl85.yang@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_removeChangeRequestPlaybackInfoListener</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_removeChangeRequestPlaybackInfoListener
-//==== LABEL Check if removeChangeRequestPlaybackInfoListener() works properly
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:removeChangeRequestPlaybackInfoListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MAST
-
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), watcherId, mcServer, mcClient, mcServerInfo, playbackRequestListener, retValue = null;
-
-t.step(function () {
- playbackRequestListener = {
- onplaybackpositionrequest: t.step_func(function (position) {
- retValue = mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
- assert_equals(retValue, undefined, "removeChangeRequestPlaybackInfoListener returns wrong value");
- try {
- mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
- } catch(e) {
- assert_unreached("Calling removeChangeRequestPlaybackInfoListener twice should not throw an exception.");
- }
- t.done();
- })
- };
-
- mcServer = tizen.mediacontroller.createServer();
- mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
- mcServerInfo = mcClient.getLatestServerInfo();
- watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
- mcServerInfo.sendPlaybackPosition(164);
-});
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Shanglong Yang <sl85.yang@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist
-//==== LABEL Check if method removeChangeRequestPlaybackInfoListener of MediaControllerServer exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:removeChangeRequestPlaybackInfoListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer = tizen.mediacontroller.createServer();
- check_method_exists(mcServer, "removeChangeRequestPlaybackInfoListener");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Shanglong Yang <sl85.yang@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg
-//==== LABEL Check if removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with missing non-optional argument does NOT throw any exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:removeChangeRequestPlaybackInfoListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- var mcServer = tizen.mediacontroller.createServer();
- try {
- mcServer.removeChangeRequestPlaybackInfoListener();
- } catch (e) {
- assert_unreached("Should not throw exception, but threw " + e.name);
- }
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Shanglong Yang <sl85.yang@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid
-//==== LABEL Check if removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with invalid value does not throw any exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:removeChangeRequestPlaybackInfoListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-test(function () {
- var mcServer = tizen.mediacontroller.createServer();
- try {
- mcServer.removeChangeRequestPlaybackInfoListener(-1);
- } catch (e) {
- assert_unreached("Should not throw exception, but threw " + e.name);
- }
-}, document.title);
-
-</script>
-</body>
-</html>
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
watcherId = mcServer.addCommandListener(commandReceiveListener);
exampleCustomCommandData = new tizen.Bundle({myFilter: "rock"});
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_savePlaylist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_savePlaylist
-//==== LABEL Check if MediaControllerServer savePlaylist method without optional argument works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MMINA
-
-test(function () {
- var mcServer, playlist, retValue = null;
- mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
- retValue = mcServer.savePlaylist(playlist);
- assert_equals(retValue, undefined, "savePlaylist returns wrong value");
- mcServer.deletePlaylist("list");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_savePlaylist_errorCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_savePlaylist_errorCallback_TypeMismatch
-//==== LABEL Check if savePlaylist throws exception when errorCallback is incorrect
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, conversionTable,
- exceptionName, i, successCallback, errorCallback;
-
-t.step(function () {
- mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
- conversionTable = getTypeConversionExceptions("functionObject", true);
-
- successCallback = t.step_func(function () {
- assert_unreached("savePlaylist() success callback should not be invoked.");
- });
-
- for (i = 0; i < conversionTable.length; i++) {
- errorCallback = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServer.savePlaylist(playlist, successCallback, errorCallback)
- }, "Given incorrect error callback.");
- }
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_savePlaylist_errorCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_savePlaylist_errorCallback_invalid_cb
-//==== LABEL Check if savePlaylist throws exception when errorCallback is invalid
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTCB
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, successCallback, incorrectCallback;
-
-t.step(function () {
- incorrectCallback = {
- onerror: t.step_func(function (error) {
- assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
- })
- };
-
- successCallback = t.step_func(function () {
- assert_unreached("savePlaylist() success callback should not be invoked.");
- });
-
- mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServer.savePlaylist(playlist, successCallback, incorrectCallback);
- }, "Given incorrect errorCallback.");
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_savePlaylist_errorCallback_invoke</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_savePlaylist_errorCallback_invoke
-//==== LABEL Check if errorCallback invoked when playlist with given name does not exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MERRCB
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, successCallback,
- errorCallback;
-
-t.step(function () {
- errorCallback = t.step_func(function (error) {
- assert_equals(error.name, "InvalidValuesError", "Invalid error name returned");
- t.done();
- });
-
- successCallback = t.step_func(function () {
- assert_unreached("savePlaylist() successCallback should not be invoked");
- });
-
- mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
- mcServer.deletePlaylist("list");
- mcServer.savePlaylist(playlist, successCallback, errorCallback);
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_savePlaylist_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_savePlaylist_exist
-//==== LABEL Check if savePlaylist exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer;
-
- mcServer = tizen.mediacontroller.createServer();
- check_method_exists(mcServer, "savePlaylist");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_savePlaylist_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_savePlaylist_misarg
-//==== LABEL Check if savePlaylist method called with missing non-optional argument throws an exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- var mcServer;
-
- mcServer = tizen.mediacontroller.createServer();
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServer.savePlaylist();
- }, "Invoked without non-optional arguments.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_savePlaylist_playlist_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_savePlaylist_playlist_TypeMismatch
-//==== LABEL Check if savePlaylist throws exception when playlist is incorrect
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-var mcServer, playlist, conversionTable, exceptionName, i;
-
-test(function () {
- mcServer = tizen.mediacontroller.createServer();
- conversionTable = getTypeConversionExceptions("object", false);
-
- for (i = 0; i < conversionTable.length; i++) {
- playlist = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServer.savePlaylist(playlist)
- }, "Given incorrect playlist");
- }
-
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_savePlaylist_successCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_savePlaylist_successCallback_TypeMismatch
-//==== LABEL Check if savePlaylist throws exception when successCallback is incorrect
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, conversionTable,
- exceptionName, i, successCallback;
-
-t.step(function () {
- mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
- conversionTable = getTypeConversionExceptions("functionObject", true);
-
- for (i = 0; i < conversionTable.length; i++) {
- successCallback = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServer.savePlaylist(playlist, successCallback)
- }, "Given incorrect success callback.");
- }
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_savePlaylist_successCallback_invalid_cb</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_savePlaylist_successCallback_invalid_cb
-//==== LABEL Check if savePlaylist throws exception when successCallback is invalid
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTCB
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, incorrectCallback;
-
-t.step(function () {
- incorrectCallback = {
- onsuccess: t.step_func(function () {
- assert_unreached("Invalid success callback invoked");
- })
- };
-
- mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServer.savePlaylist(playlist, incorrectCallback);
- }, "Given incorrect successCallback.");
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_savePlaylist_with_errorCallback</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_savePlaylist_with_errorCallback
-//==== LABEL Check if MediaControllerServer savePlaylist method with all optional arguments works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MOA MR
-//==== ONLOAD_DELAY 30
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, successCallback,
- errorCallback, retVal = null;
-
-t.step(function () {
- add_result_callback(function () {
- mcServer.deletePlaylist("list");
- });
- errorCallback = t.step_func(function (error) {
- assert_unreached("savePlaylist() error callback should not be invoked:" + error.name + ": " + error.message);
- });
-
- successCallback = t.step_func(function () {
- assert_equals(retVal, undefined, "savePlaylist should return undefined");
- t.done();
- });
-
- mcServer = tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("list");
- retVal = mcServer.savePlaylist(playlist, successCallback, errorCallback);
-});
-
-</script>
-</body>
-</html>
mcServer = tizen.mediacontroller.createServer();
retValue = mcServer.setSearchRequestListener(searchRequestListener);
- mcServer.updatePlaybackState("PLAY");
mcClient = tizen.mediacontroller.getClient();
mcServerInfo = mcClient.getLatestServerInfo();
mcServerInfo.sendSearchRequest(query, replyCallback);
mcServer = tizen.mediacontroller.createServer();
mcServer.setSearchRequestListener(searchRequestListener);
- mcServer.updatePlaybackState("PLAY");
mcClient = tizen.mediacontroller.getClient();
mcServerInfo = mcClient.getLatestServerInfo();
mcServerInfo.sendSearchRequest(query, replyCallback);
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updateIconURI</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updateIconURI
-//==== LABEL Check if MediaControllerServer updateIconURI method works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateIconURI M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MAST
-
-test(function () {
- var server, client, sinfo, uri = "http://example.com/res/icon2.ico", retVal = null;
-
- server = tizen.mediacontroller.createServer();
- server.updatePlaybackState("PLAY");
- client = tizen.mediacontroller.getClient();
- sinfo = client.getLatestServerInfo();
- retVal = server.updateIconURI(uri);
- assert_equals(retVal, undefined, "updateIconURI should return undefined");
- assert_equals(sinfo.iconURI, uri, "update iconURI failed");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updateIconURI_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updateIconURI_exist
-//==== LABEL Check if method updateIconURI of MediaControllerServer exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateIconURI M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer = tizen.mediacontroller.createServer();
- check_method_exists(mcServer, "updateIconURI");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Shanglong Yang <sl85.yang@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updateMetadata</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updateMetadata
-//==== LABEL Check if updateMetadata() works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateMetadata M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MAST
-
-test(function () {
- var mcServer, metadata, retValue;
-
- mcServer = tizen.mediacontroller.createServer();
- metadata = mcServer.playbackInfo.metadata;
- metadata.artist = "Artist Name";
- retValue = mcServer.updateMetadata(metadata);
- assert_equals(retValue, undefined, "updateMetadata returns wrong value");
- metadata.artist = "New Name";
- mcServer.updateMetadata(metadata);
- assert_equals(mcServer.playbackInfo.metadata.artist, "New Name", "artist should be updated");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Shanglong Yang <sl85.yang@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updateMetadata_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updateMetadata_exist
-//==== LABEL Check if method updateMetadata of MediaControllerServer exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateMetadata M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer = tizen.mediacontroller.createServer();
- check_method_exists(mcServer, "updateMetadata");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Shanglong Yang <sl85.yang@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updateMetadata_invalid_obj</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updateMetadata_invalid_obj
-//==== LABEL Check if updateMetadata() method throw exception when a fake system object was passed
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateMetadata M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MTO
-
-test(function () {
- var mcServer, metadata;
-
- mcServer = tizen.mediacontroller.createServer();
- metadata = {
- invalid_title: "Black Widow",
- invalid_artist: "Iggy Azalea",
- invalid_album: "The New Classic",
- invalid_author: "Iggy Azalea",
- invalid_genre: "popular",
- invalid_duration: "03:28",
- invalid_date: "2014-04-22",
- invalid_copyright: "Iggy Azalea",
- invalid_description: "Like a black widow, baby",
- invalid_trackNum: "123",
- invalid_picture: "aa"
- };
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServer.updateMetadata(metadata);
- }, "fake system object was pased but exception wasn't thrown");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updateMetadata_metadata_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updateMetadata_metadata_TypeMismatch
-//==== LABEL Check argument metadata conversions exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateMetadata M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-test(function () {
- var mcServer, metadata, exceptionName, i, conversionTable;
-
- conversionTable = getTypeConversionExceptions("object", false);
- mcServer= tizen.mediacontroller.createServer();
-
- for (i = 0; i < conversionTable.length; i++) {
- metadata = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServer.updateMetadata(metadata);
- }, exceptionName + " should be thrown - given incorrect metadata.");
- }
-
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Shanglong Yang <sl85.yang@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updateMetadata_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updateMetadata_misarg
-//==== LABEL Check if updateMetadata method of MediaControllerServer called with missing non-optional argument throws an exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateMetadata M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- var mcServer = tizen.mediacontroller.createServer();
-
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServer.updateMetadata();
- }, "Invoked without non-optional arguments.");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updatePlaybackAgeRating</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updatePlaybackAgeRating
-//==== LABEL Check if MediaControllerServer updatePlaybackAgeRating method works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackAgeRating M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MAST
-
-test(function () {
- var mcServer, retVal = null;
-
- mcServer= tizen.mediacontroller.createServer();
- mcServer.updatePlaybackAgeRating("1");
- retVal = mcServer.updatePlaybackAgeRating("2");
- assert_equals(retVal, undefined, "updatePlaybackAgeRating should return undefined");
- assert_equals(mcServer.playbackInfo.ageRating, "2", "ageRating should be updated");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updatePlaybackAgeRating_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updatePlaybackAgeRating_exist
-//==== LABEL Check if updatePlaybackAgeRating exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackAgeRating M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer = tizen.mediacontroller.createServer();
- check_method_exists(mcServer, "updatePlaybackAgeRating");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updatePlaybackAgeRating_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updatePlaybackAgeRating_misarg
-//==== LABEL Check if updatePlaybackAgeRating method of MediaControllerServer called with missing non-optional argument should throw an exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackAgeRating M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- var mcServer;
- mcServer= tizen.mediacontroller.createServer();
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServer.updatePlaybackAgeRating();
- }, "Invoked without non-optional arguments.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch
-//==== LABEL Check argument rating conversions exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackAgeRating M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-test(function () {
- var mcServer, rating, exceptionName, i, conversionTable;
-
- conversionTable = getTypeConversionExceptions("enum", false);
- mcServer= tizen.mediacontroller.createServer();
-
- for (i = 0; i < conversionTable.length; i++) {
- rating = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServer.updatePlaybackAgeRating(rating);
- }, exceptionName + " should be thrown - given incorrect rating.");
- }
-
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updatePlaybackContentType</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updatePlaybackContentType
-//==== LABEL Check if MediaControllerServer updatePlaybackContentType method works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackContentType M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MAST
-
-test(function () {
- var mcServer, retVal = null;
-
- mcServer= tizen.mediacontroller.createServer();
- retVal = mcServer.updatePlaybackContentType("MUSIC");
- assert_equals(retVal, undefined, "updatePlaybackContentType should return undefined");
- assert_equals(mcServer.playbackInfo.contentType, "MUSIC", "contentType should be updated");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch
-//==== LABEL Check argument contentType conversions exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackContentType M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-test(function () {
- var mcServer, contentType, exceptionName, i, conversionTable;
-
- conversionTable = getTypeConversionExceptions("enum", false);
- mcServer= tizen.mediacontroller.createServer();
-
- for (i = 0; i < conversionTable.length; i++) {
- contentType = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServer.updatePlaybackContentType(contentType);
- }, exceptionName + " should be thrown - given incorrect contentType.");
- }
-
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updatePlaybackContentType_contentType_invalid</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updatePlaybackContentType_contentType_invalid
-//==== LABEL Check updatePlaybackContentType throws type exception with invalid contentType value
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackContentType M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-test(function () {
- var mcServer;
-
- mcServer= tizen.mediacontroller.createServer();
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServer.updatePlaybackContentType("ABC");
- }, "Calling updatePlaybackContentType with invalid arguments should throw an exception.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updatePlaybackContentType_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updatePlaybackContentType_exist
-//==== LABEL Check if updatePlaybackContentType exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackContentType M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer = tizen.mediacontroller.createServer();
- check_method_exists(mcServer, "updatePlaybackContentType");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updatePlaybackContentType_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updatePlaybackContentType_misarg
-//==== LABEL Check if updatePlaybackContentType method called with missing non-optional argument throws an exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackContentType M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- var mcServer;
-
- mcServer= tizen.mediacontroller.createServer();
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServer.updatePlaybackContentType();
- }, "Calling updatePlaybackContentType without arguments should throw an exception.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updatePlaybackItem</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updatePlaybackItem
-//==== LABEL Check if MediaControllerServer updatePlaybackItem method works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackItem M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MAST
-
-test(function () {
- var mcServer, metadata, playlist, retVal = null;
-
- mcServer= tizen.mediacontroller.createServer();
- playlist = mcServer.createPlaylist("PlayList");
- metadata =
- {
- title: "testTitle"
- };
- playlist.addItem("index1", metadata);
- mcServer.savePlaylist(playlist);
- retVal = mcServer.updatePlaybackItem("PlayList", "index1");
- assert_equals(retVal, undefined, "updatePlaybackItem returns wrong value");
- assert_equals(mcServer.playbackInfo.index, "index1", "update index failed");
- mcServer.deletePlaylist("PlayList");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updatePlaybackItem_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updatePlaybackItem_exist
-//==== LABEL Check if method updatePlaybackItem of MediaControllerServer exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackItem M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer = tizen.mediacontroller.createServer();
- check_method_exists(mcServer, "updatePlaybackItem");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updatePlaybackPosition</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updatePlaybackPosition
-//==== LABEL Check if MediaControllerServer updatePlaybackPosition method works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackPosition M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MAST
-
-test(function () {
- var mcServer, retVal = null, beforeposition;
-
- mcServer = tizen.mediacontroller.createServer();
- beforeposition = mcServer.playbackInfo.position;
- retVal = mcServer.updatePlaybackPosition(beforeposition + 10);
- assert_equals(retVal, undefined, "updatePlaybackPosition should return undefined");
- assert_greater_than_equal(mcServer.playbackInfo.position, beforeposition + 10, "position should be updated");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updatePlaybackPosition_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updatePlaybackPosition_exist
-//==== LABEL Check if updatePlaybackPosition exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackPosition M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer = tizen.mediacontroller.createServer();
- check_method_exists(mcServer, "updatePlaybackPosition");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updatePlaybackPosition_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updatePlaybackPosition_misarg
-//==== LABEL Check if updatePlaybackPosition method of MediaControllerServer called with missing non-optional argument does not throw any exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackPosition M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- var mcServer;
-
- mcServer= tizen.mediacontroller.createServer();
- try {
- mcServer.updatePlaybackPosition();
- } catch (e) {
- assert_unreached("Calling updatePlaybackPosition without arguments should NOT throw an exception.");
- }
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updatePlaybackPosition_position_invalid</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updatePlaybackPosition_position_invalid
-//==== LABEL Check if updatePlaybackPosition method of MediaControllerServer called with negative value should NOT throw an exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackPosition M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- var mcServer;
-
- mcServer= tizen.mediacontroller.createServer();
- try {
- mcServer.updatePlaybackPosition(-1);
- } catch (e) {
- assert_unreached("Calling updatePlaybackPosition with negative value should NOT throw an exception.");
- }
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updatePlaybackState</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updatePlaybackState
-//==== LABEL Check if MediaControllerServer updatePlaybackState method works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackState M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MAST
-
-test(function () {
- var mcServer, retVal = null;
-
- mcServer= tizen.mediacontroller.createServer();
- retVal = mcServer.updatePlaybackState("PLAY");
- assert_equals(retVal, undefined, "updatePlaybackState should return undefined");
- mcServer.updatePlaybackState("NEXT");
- assert_equals(mcServer.playbackInfo.state, "NEXT", "state should be updated");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updatePlaybackState_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updatePlaybackState_exist
-//==== LABEL Check if updatePlaybackState exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackState M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer = tizen.mediacontroller.createServer();
- check_method_exists(mcServer, "updatePlaybackState");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updatePlaybackState_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updatePlaybackState_misarg
-//==== LABEL Check if updatePlaybackState method called with missing non-optional argument throws an exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackState M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- var mcServer;
-
- mcServer= tizen.mediacontroller.createServer();
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServer.updatePlaybackState();
- }, "Calling updatePlaybackState without arguments should throw an exception.");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updatePlaybackState_state_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updatePlaybackState_state_TypeMismatch
-//==== LABEL Check argument state conversions exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackState M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-test(function () {
- var mcServer, state, exceptionName, i, conversionTable;
-
- conversionTable = getTypeConversionExceptions("enum", false);
- mcServer= tizen.mediacontroller.createServer();
-
- for (i = 0; i < conversionTable.length; i++) {
- state = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServer.updatePlaybackState(state);
- }, exceptionName + " should be thrown - given incorrect state.");
- }
-
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updatePlaybackState_state_invalid</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updatePlaybackState_state_invalid
-//==== LABEL Check updatePlaybackState throws type exception with invalid state value
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackState M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-test(function () {
- var mcServer;
-
- mcServer= tizen.mediacontroller.createServer();
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServer.updatePlaybackState("ABC");
- }, "Calling updatePlaybackState with invalid arguments should throw an exception.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updateRepeatState</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updateRepeatState
-//==== LABEL Check if MediaControllerServer updateRepeatState method works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateRepeatState M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MAST
-
-test(function () {
- var mcServer, retVal = null;
-
- mcServer= tizen.mediacontroller.createServer();
- mcServer.updateRepeatState("REPEAT_OFF");
- retVal = mcServer.updateRepeatState("REPEAT_ONE");
- assert_equals(retVal, undefined, "updateRepeatState should return undefined");
- assert_equals(mcServer.playbackInfo.repeatState, "REPEAT_ONE", "repeatState should be updated");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updateRepeatState_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updateRepeatState_exist
-//==== LABEL Check if updateRepeatState exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateRepeatState M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer = tizen.mediacontroller.createServer();
- check_method_exists(mcServer, "updateRepeatState");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updateRepeatState_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updateRepeatState_misarg
-//==== LABEL Check if updateRepeatState method of MediaControllerServer called with missing non-optional argument should throw an exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateRepeatState M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- var mcServer;
- mcServer= tizen.mediacontroller.createServer();
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- mcServer.updateRepeatState();
- }, "Invoked without non-optional arguments.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2019 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updateRepeatState_state_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updateRepeatState_state_TypeMismatch
-//==== LABEL Check argument state conversions exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateRepeatState M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-test(function () {
- var mcServer, state, exceptionName, i, conversionTable;
-
- conversionTable = getTypeConversionExceptions("enum", false);
- mcServer= tizen.mediacontroller.createServer();
-
- for (i = 0; i < conversionTable.length; i++) {
- state = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws({name: exceptionName},
- function () {
- mcServer.updateRepeatState(state);
- }, exceptionName + " should be thrown - given incorrect state.");
- }
-
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updateShuffleMode</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updateShuffleMode
-//==== LABEL Check if MediaControllerServer updateShuffleMode method works properly
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateShuffleMode M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA MR MAST
-
-test(function () {
- var mcServer, retVal = null, beforemode;
-
- mcServer= tizen.mediacontroller.createServer();
- beforemode = mcServer.playbackInfo.shuffleMode;
- retVal = mcServer.updateShuffleMode(!beforemode);
- assert_equals(retVal, undefined, "updateShuffleMode should return undefined");
- assert_equals(mcServer.playbackInfo.shuffleMode, !beforemode, "shuffleMode should be updated");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updateShuffleMode_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updateShuffleMode_exist
-//==== LABEL Check if updateShuffleMode exists
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateShuffleMode M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- var mcServer = tizen.mediacontroller.createServer();
- check_method_exists(mcServer, "updateShuffleMode");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>MediaControllerServer_updateShuffleMode_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MediaControllerServer_updateShuffleMode_misarg
-//==== LABEL Check if updateShuffleMode method of MediaControllerServer called with missing non-optional argument does NOT throw an exception
-//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateShuffleMode M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- var mcServer;
-
- mcServer= tizen.mediacontroller.createServer();
- try {
- mcServer.updateShuffleMode();
- } catch(e) {
- assert_unreached("Calling updateShuffleMode without arguments should not throw an exception.");
- }
- assert_equals(mcServer.playbackInfo.shuffleMode, false, "Expected false, but got " + mcServer.playbackInfo.shuffleMode);
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_method_exists(mcServerInfo.subtitles, "addModeChangeListener");
}, document.title);
var mcServer, mcClient, mcServerInfo, incorrectCallback, exceptionName, i, conversionTable;
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
conversionTable = getTypeConversionExceptions("object", false);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
incorrectListener = getListenerConversionExceptions(["onchange"]);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
mcServerInfo.subtitles.addModeChangeListener();
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
mode = mcServerInfo.subtitles;
check_readonly(mode, "enabled", mode.enabled, "boolean", null);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_extensibility(mcServerInfo.subtitles);
}, document.title);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
check_method_exists(mcServerInfo.subtitles, "removeModeChangeListener");
}, document.title);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
mcServerInfo = mcClient.getLatestServerInfo();
try {
mcServerInfo.subtitles.removeModeChangeListener();
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
serverInfo = mcClient.getLatestServerInfo();
check_method_exists(serverInfo.subtitles, "sendRequest");
}, document.title);
mcServer = tizen.mediacontroller.createServer();
mcClient = tizen.mediacontroller.getClient();
- mcServer.updatePlaybackState("PLAY");
serverInfo = mcClient.getLatestServerInfo();
assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
serverInfo.subtitles.sendRequest();
<title>SearchFilter_keyword_invalid</title>
<meta charset="utf-8">
<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>p
+</head>
<body>
<div id="log"></div>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if MediaControllerPlaybackInfoChangeCallback onplaybackstaterequest is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerChangeRequestPlaybackInfoCallback_onplaybackstaterequest">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_onplaybackstaterequest.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="MediaControllerChangeRequestPlaybackInfoCallback" element_type="method" element_name="onplaybackstaterequest" 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 MediaControllerChangeRequestPlaybackInfoCallback onrepeatstaterequest is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerChangeRequestPlaybackInfoCallback_onrepeatstaterequest">
<description>
<test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_onrepeatstaterequest.html</test_script_entry>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if MediaControllerPlaybackInfo object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerPlaybackInfo_extend">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_extend.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="MediaControllerPlaybackInfo" 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 metadata of MediaControllerPlaybackInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_metadata_attribute">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_metadata_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="metadata" 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 interface MediaControllerPlaybackInfo exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerPlaybackInfo_notexist">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="MediaControllerPlaybackInfo" 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 position of MediaControllerPlaybackInfo exists, has type long and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_position_attribute">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_position_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="position" 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 repeatState of MediaControllerPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_repeatState_attribute">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_repeatState_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="repeatMode" 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 shuffleMode of MediaControllerPlaybackInfo exists, has type boolean and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_shuffleMode_attribute">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_shuffleMode_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="shuffleMode" 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 state of MediaControllerPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_state_attribute">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_state_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="state" 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 interface MediaControllerReceiveCommandCallback exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerReceiveCommandCallback_notexist">
<description>
<test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerReceiveCommandCallback_notexist.html</test_script_entry>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if MediaControllerServerInfo addPlaybackInfoChangeListener method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_addPlaybackInfoChangeListener">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_addPlaybackInfoChangeListener.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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 addPlaybackInfoChangeListener exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_exist">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_addPlaybackInfoChangeListener_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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 addPlaybackInfoChangeListener throws exception when listener is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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 addPlaybackInfoChangeListener throws exception when listener is invalid" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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 addPlaybackInfoChangeListener 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="MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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 addServerStatusChangeListener() works properly" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="manual" priority="P1" id="MediaControllerServerInfo_addServerStatusChangeListener">
<description>
<test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_addServerStatusChangeListener.html</test_script_entry>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute playbackInfo of MediaControllerServerInfo exists, has type MediaControllerPlaybackInfo and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_playbackInfo_attribute">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_playbackInfo_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="attribute" element_name="playbackInfo" 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 MediaControllerServerInfo removePlaybackInfoChangeListener method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_removePlaybackInfoChangeListener">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_removePlaybackInfoChangeListener.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="removePlaybackInfoChangeListener" 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 removePlaybackInfoChangeListener exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_exist">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_removePlaybackInfoChangeListener_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="removePlaybackInfoChangeListener" 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 removePlaybackInfoChangeListener method called with missing non-optional argument does not throw any exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="removePlaybackInfoChangeListener" 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 removePlaybackInfoChangeListener method of MediaControllerServerInfo called with invalid value throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="removePlaybackInfoChangeListener" 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 removeServerStatusChangeListener() works properly" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="manual" priority="P1" id="MediaControllerServerInfo_removeServerStatusChangeListener">
<description>
<test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_removeServerStatusChangeListener.html</test_script_entry>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if MediaControllerServerInfo sendPlaybackPosition method without optional argument works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendPlaybackPosition">
+ <testcase purpose="Check if attribute state of MediaControllerServer exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_state_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackPosition.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_state_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="attribute" element_name="state" 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 sendPlaybackPosition throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch">
+ <testcase purpose="Check if interface MediaControllerServerStatusChangeCallback exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerServerStatusChangeCallback_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerStatusChangeCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerStatusChangeCallback" 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 sendPlaybackPosition throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb">
+ <testcase purpose="Check MediaControllerServerStatusChangeCallback onsuccess method" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="manual" priority="P1" id="MediaControllerServerStatusChangeCallback_onsuccess">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerStatusChangeCallback_onsuccess.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerStatusChangeCallback" element_type="method" element_name="onsuccess" 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>
+ <pre_condition>Install MediaControllerHelper.wgt</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch MediaControllerHelper and press createServer button.</step_desc>
+ <expected>server is created successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Press run button.</step_desc>
+ <expected>Testcase started.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Go back MediaControllerHelper app,then press Exit application button.</step_desc>
+ <expected>PASS.</expected>
+ </step>
+ </steps>
</testcase>
- <testcase purpose="Check if sendPlaybackPosition exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_sendPlaybackPosition_exist">
+ <testcase purpose="Check if addCommandListener() works properly" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_addCommandListener">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackPosition_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addCommandListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addCommandListener" 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 sendPlaybackPosition method called with missing non-optional argument does NOT throw an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackPosition_misarg">
+ <testcase purpose="Check if method addCommandListener of MediaControllerServer exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_addCommandListener_exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackPosition_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addCommandListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addCommandListener" 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 sendPlaybackPosition throws exception when successCallback is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch">
+ <testcase purpose="Check argument callback conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_addCommandListener_listener_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addCommandListener_listener_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addCommandListener" 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 sendPlaybackPosition throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb">
+ <testcase purpose="Check if addCommandListener throws exception when callback is inavlid listener" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_addCommandListener_listener_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addCommandListener_listener_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addCommandListener" 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 MediaControllerServerInfo sendPlaybackPosition method with all optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback">
+ <testcase purpose="Check if addCommandListener method of MediaControllerServer 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="MediaControllerServer_addCommandListener_misarg">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addCommandListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addCommandListener" 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 MediaControllerServerInfo sendPlaybackState method without optional argument works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendPlaybackState">
+ <testcase purpose="Check if MediaControllerServer object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerServer_extend">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackState.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" 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 sendPlaybackState throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch">
+ <testcase purpose="Check if interface MediaControllerServer exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerServer_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" 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 sendPlaybackState throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb">
+ <testcase purpose="Check if removeCommandListener() works properly" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_removeCommandListener">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeCommandListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeCommandListener" 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 sendPlaybackState exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_sendPlaybackState_exist">
+ <testcase purpose="Check if method removeCommandListener of MediaControllerServer exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_removeCommandListener_exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackState_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeCommandListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeCommandListener" 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 sendPlaybackState 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="MediaControllerServerInfo_sendPlaybackState_misarg">
+ <testcase purpose="Check if removeCommandListener method of MediaControllerServer called with missing non-optional argument does not throw any exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_removeCommandListener_misarg">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackState_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeCommandListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeCommandListener" 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 sendPlaybackState throws exception when state is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch">
+ <testcase purpose="Check if removeCommandListener method of MediaControllerServer called with invalid value does not throw any exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_removeCommandListener_watchId_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeCommandListener_watchId_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeCommandListener" 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 sendPlaybackState throws exception when successCallback is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylist_extend" priority="P3" purpose="Check if MediaControllerPlaylist object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylist" 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 sendPlaybackState throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylist_notexist" priority="P3" purpose="Check if interface MediaControllerPlaylist exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylist" 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 MediaControllerServerInfo sendPlaybackState method with all optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendPlaybackState_with_errorCallback">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerChangeRequestPlaybackInfoCallback_onplaybackitemrequest" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaybackInfoChangeCallback onplaybackitemrequest is called and if its arguments have proper type">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackState_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_onplaybackitemrequest.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerChangeRequestPlaybackInfoCallback" 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 sendRepeatState() works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendRepeatState">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistItem_extend" priority="P3" purpose="Check if MediaControllerPlaylistItem object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendRepeatState.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistItem_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylistItem" 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 argument errorCallback conversions exception" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistItem_notexist" priority="P3" purpose="Check if interface MediaControllerPlaylistItem exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistItem_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylistItem" 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 sendRepeatState throws exception when errorCallback is invalid" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistItem_index_attribute" priority="P1" purpose="Check if attribute index of MediaControllerPlaylistItem exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistItem_index_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylistItem" 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 method sendRepeatState of MediaControllerServerInfo exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_sendRepeatState_exist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistItem_metadata_attribute" priority="P1" purpose="Check if attribute metadata of MediaControllerPlaylistItem exists, has type object and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendRepeatState_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistItem_metadata_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylistItem" 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 argument state conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendRepeatState_state_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylist_name_attribute" priority="P1" purpose="Check if attribute name of MediaControllerPlaylist exists, has type object and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendRepeatState_state_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_name_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylist" 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 argument successCallback conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylist_addItem" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylist addItem method without optional argument works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_addItem.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylist" 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 sendRepeatState 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="MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylist_addItem_metadata_empty" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylist addItem method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_addItem_metadata_empty.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylist" 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 sendRepeatState method works properly with errorCallback argument" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendRepeatState_with_errorCallback">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylist_addItem_exist" priority="P0" purpose="Check if addItem exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendRepeatState_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_addItem_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylist" 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 MediaControllerServerInfo sendShuffleMode method without optional argument works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendShuffleMode">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylist_addItem_misarg" priority="P2" purpose="Check if addItem method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendShuffleMode.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_addItem_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylist" 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 sendShuffleMode throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylist_addItem_metadata_TypeMismatch" priority="P2" purpose="Check if addItem throws exception when metadata is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_addItem_metadata_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylist" 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 sendShuffleMode throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylist_getItems" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylist getItems method without optional argument works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylist" 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 sendShuffleMode exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_sendShuffleMode_exist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylist_getItems_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getItems throws exception when errorCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendShuffleMode_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_errorCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylist" 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 sendShuffleMode throws exception when successCallback is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylist_getItems_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getItems throws exception when errorCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_errorCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylist" 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 sendShuffleMode throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylist_getItems_exist" priority="P0" purpose="Check if getItems exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylist" 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 MediaControllerServerInfo sendShuffleMode method with all optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendShuffleMode_with_errorCallback">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylist_getItems_misarg" priority="P2" purpose="Check if getItems method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendShuffleMode_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylist" 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 state of MediaControllerServer exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_state_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylist_getItems_successCallback_TypeMismatch" priority="P2" purpose="Check if getItems throws exception when successCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_state_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_successCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="attribute" element_name="state" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylist" 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 interface MediaControllerServerStatusChangeCallback exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerServerStatusChangeCallback_notexist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylist_getItems_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getItems throws exception when successCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerStatusChangeCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_successCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerStatusChangeCallback" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylist" 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 MediaControllerServerStatusChangeCallback onsuccess method" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="manual" priority="P1" id="MediaControllerServerStatusChangeCallback_onsuccess">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylist_getItems_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylist getItems method with all optional arguments works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerStatusChangeCallback_onsuccess.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_with_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerStatusChangeCallback" element_type="method" element_name="onsuccess" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylist" 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>
- <pre_condition>Install MediaControllerHelper.wgt</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Launch MediaControllerHelper and press createServer button.</step_desc>
- <expected>server is created successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Press run button.</step_desc>
- <expected>Testcase started.</expected>
- </step>
- <step order="3">
- <step_desc>Go back MediaControllerHelper app,then press Exit application button.</step_desc>
- <expected>PASS.</expected>
- </step>
- </steps>
</testcase>
- <testcase purpose="Check if addChangeRequestPlaybackInfoListener() works properly" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_addChangeRequestPlaybackInfoListener">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerGetAllPlaylistsSuccessCallback_notexist" priority="P3" purpose="Check if interface MediaControllerGetAllPlaylistsSuccessCallback exists, it should not">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addChangeRequestPlaybackInfoListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerGetAllPlaylistsSuccessCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addChangeRequestPlaybackInfoListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerGetAllPlaylistsSuccessCallback" 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 method addChangeRequestPlaybackInfoListener of MediaControllerServer exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_exist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerGetAllPlaylistsSuccessCallback_onsuccess" onload_delay="90" priority="P1" purpose="Check MediaControllerGetAllPlaylistsSuccessCallback onsuccess method">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addChangeRequestPlaybackInfoListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerGetAllPlaylistsSuccessCallback_onsuccess.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addChangeRequestPlaybackInfoListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerGetAllPlaylistsSuccessCallback" 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 addChangeRequestPlaybackInfoListener throws exception when listener is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistUpdatedCallback_notexist" priority="P3" purpose="Check if interface MediaControllerPlaylistUpdatedCallback exists, it should not">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistUpdatedCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addChangeRequestPlaybackInfoListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylistUpdatedCallback" 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 addChangeRequestPlaybackInfoListener throws exception when callback is inavlid listener" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistUpdatedCallback_onplaylistupdated" onload_delay="90" priority="P1" purpose="Check MediaControllerPlaylistUpdatedCallback onplaylistupdated method">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistUpdatedCallback_onplaylistupdated.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addChangeRequestPlaybackInfoListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylistUpdatedCallback" 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 addChangeRequestPlaybackInfoListener method of MediaControllerServer 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="MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistUpdatedCallback_onplaylistdeleted" onload_delay="90" priority="P1" purpose="Check MediaControllerPlaylistUpdatedCallback onplaylistdeleted method">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistUpdatedCallback_onplaylistdeleted.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addChangeRequestPlaybackInfoListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylistUpdatedCallback" 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 addCommandListener() works properly" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_addCommandListener">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerGetItemsSuccessCallback_notexist" priority="P3" purpose="Check if interface MediaControllerGetItemsSuccessCallback exists, it should not">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addCommandListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerGetItemsSuccessCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addCommandListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerGetItemsSuccessCallback" 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 method addCommandListener of MediaControllerServer exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_addCommandListener_exist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerGetItemsSuccessCallback_onsuccess" onload_delay="90" priority="P1" purpose="Check MediaControllerGetItemsSuccessCallback onsuccess method">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addCommandListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerGetItemsSuccessCallback_onsuccess.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addCommandListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerGetItemsSuccessCallback" 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 argument callback conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_addCommandListener_listener_TypeMismatch">
+ <testcase purpose="Check if attribute iconURI of MediaControllerServer exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_iconURI_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addCommandListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_iconURI_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addCommandListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="attribute" element_name="iconURI" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if addCommandListener throws exception when callback is inavlid listener" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_addCommandListener_listener_invalid">
+ <testcase purpose="Check if attribute iconURI of MediaControllerServerInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_iconURI_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addCommandListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_iconURI_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addCommandListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="attribute" element_name="iconURI" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if addCommandListener method of MediaControllerServer 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="MediaControllerServer_addCommandListener_misarg">
+ <testcase purpose="Check if SearchFilter exist" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="SearchFilter_exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addCommandListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addCommandListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="constructor" element_name="SearchFilter" 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 MediaControllerServer object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerServer_extend">
+ <testcase purpose="Check if SearchFilter constructor is correct" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="SearchFilter_constructor">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_constructor.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="constructor" element_name="SearchFilter" 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 interface MediaControllerServer exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerServer_notexist">
+ <testcase purpose="Check if SearchFilter constructor is correct without all optional arguments" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="SearchFilter_constructor_min">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_constructor_min.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="constructor" element_name="SearchFilter" 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 playbackInfo of MediaControllerServer exists, has type MediaControllerPlaybackInfo and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_playbackInfo_attribute">
+ <testcase purpose="Check if RequestReply exist" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="RequestReply_exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_playbackInfo_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/RequestReply_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="attribute" element_name="playbackInfo" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="constructor" element_name="RequestReply" 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 removeChangeRequestPlaybackInfoListener() works properly" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener">
+ <testcase purpose="Check if RequestReply constructor is correct" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="RequestReply_constructor">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeChangeRequestPlaybackInfoListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/RequestReply_constructor.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeChangeRequestPlaybackInfoListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="constructor" element_name="RequestReply" 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 removeChangeRequestPlaybackInfoListener of MediaControllerServer exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist">
+ <testcase purpose="Check if RequestReply constructor is correct without all optional arguments" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="RequestReply_constructor_min">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/RequestReply_constructor_min.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeChangeRequestPlaybackInfoListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="constructor" element_name="RequestReply" 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 removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with missing non-optional argument does NOT throw any exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg">
+ <testcase purpose="Check argument contentType conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="SearchFilter_contentType_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_contentType_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeChangeRequestPlaybackInfoListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="constructor" element_name="SearchFilter" 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 removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with invalid value does not throw any exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid">
+ <testcase purpose="Check argument category conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="SearchFilter_category_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_category_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeChangeRequestPlaybackInfoListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="constructor" element_name="SearchFilter" 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 removeCommandListener() works properly" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_removeCommandListener">
+ <testcase purpose="Check SearchFilter throws exception with invalid category value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="SearchFilter_category_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeCommandListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_category_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeCommandListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="constructor" element_name="SearchFilter" 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 removeCommandListener of MediaControllerServer exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_removeCommandListener_exist">
+ <testcase purpose="Check SearchFilter throws exception with invalid keyword value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="SearchFilter_keyword_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeCommandListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_keyword_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeCommandListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="constructor" element_name="SearchFilter" 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 removeCommandListener method of MediaControllerServer called with missing non-optional argument does not throw any exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_removeCommandListener_misarg">
+ <testcase purpose="Check if sendSearchRequest() works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendSearchRequest">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeCommandListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeCommandListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendSearchRequest" 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 removeCommandListener method of MediaControllerServer called with invalid value does not throw any exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_removeCommandListener_watchId_invalid">
+ <testcase purpose="Check argument errorCallback conversions exception" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendSearchRequest_errorCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeCommandListener_watchId_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_errorCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeCommandListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendSearchRequest" 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 updateMetadata() works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updateMetadata">
+ <testcase purpose="Check if sendSearchRequest throws exception when errorCallback is invalid" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendSearchRequest_errorCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateMetadata.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_errorCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateMetadata" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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 updateMetadata of MediaControllerServer exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updateMetadata_exist">
+ <testcase purpose="Check if method sendSearchRequest of MediaControllerServerInfo exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_sendSearchRequest_exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateMetadata_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateMetadata" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendSearchRequest" 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 updateMetadata() method throw exception when a fake system object was passed" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updateMetadata_invalid_obj">
+ <testcase purpose="Check argument request conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendSearchRequest_request_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateMetadata_invalid_obj.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_request_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateMetadata" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendSearchRequest" 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 metadata conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updateMetadata_metadata_TypeMismatch">
+ <testcase purpose="Check if sendSearchRequest throws invalid error when request objects greater then 20" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendSearchRequest_request_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateMetadata_metadata_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_request_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateMetadata" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendSearchRequest" 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 updateMetadata method of MediaControllerServer 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="MediaControllerServer_updateMetadata_misarg">
+ <testcase purpose="Check argument replyCallback conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendSearchRequest_replyCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateMetadata_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_replyCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateMetadata" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendSearchRequest" 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 MediaControllerServer updatePlaybackPosition method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updatePlaybackPosition">
+ <testcase purpose="Check if sendSearchRequest throws exception when replyCallback is invalid" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendSearchRequest_replyCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackPosition.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_replyCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackPosition" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendSearchRequest" 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 updatePlaybackPosition exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updatePlaybackPosition_exist">
+ <testcase purpose="Check if sendSearchRequest method works properly with errorCallback argument" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendSearchRequest_with_errorCallback">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackPosition_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_with_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackPosition" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendSearchRequest" 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 updatePlaybackPosition method of MediaControllerServer called with missing non-optional argument does not throw any exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackPosition_misarg">
+ <testcase purpose="Check if MediaControllerServer setSearchRequestListener method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_setSearchRequestListener">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackPosition_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_setSearchRequestListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackPosition" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="setSearchRequestListener" 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 updatePlaybackPosition method of MediaControllerServer called with negative value should NOT throw an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackPosition_position_invalid">
+ <testcase purpose="check if setSearchRequestListener exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_setSearchRequestListener_exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackPosition_position_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_setSearchRequestListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackPosition" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="setSearchRequestListener" 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 MediaControllerServer updatePlaybackState method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updatePlaybackState">
+ <testcase purpose="Check if setSearchRequestListener throws exception when listener is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_setSearchRequestListener_listener_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackState.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_setSearchRequestListener_listener_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="setSearchRequestListener" 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 updatePlaybackState exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updatePlaybackState_exist">
+ <testcase purpose="Check if setSearchRequestListener throws exception when listener is invalid" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_setSearchRequestListener_listener_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackState_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_setSearchRequestListener_listener_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="setSearchRequestListener" 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 updatePlaybackState 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="MediaControllerServer_updatePlaybackState_misarg">
+ <testcase purpose="Check if setSearchRequestListener 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="MediaControllerServer_setSearchRequestListener_misarg">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackState_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_setSearchRequestListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="setSearchRequestListener" 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 state conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackState_state_TypeMismatch">
+ <testcase purpose="Check if MediaControllerServer unsetSearchRequestListener method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_unsetSearchRequestListener">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackState_state_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_unsetSearchRequestListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="unsetSearchRequestListener" 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 updatePlaybackState throws type exception with invalid state value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackState_state_invalid">
+ <testcase purpose="check if unsetSearchRequestListener exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_unsetSearchRequestListener_exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackState_state_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_unsetSearchRequestListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="unsetSearchRequestListener" 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 MediaControllerServer updateRepeatState method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updateRepeatState">
+ <testcase purpose="Check using unsetSearchRequestListener method with extra argument" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_unsetSearchRequestListener_extra_argument">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateRepeatState.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_unsetSearchRequestListener_extra_argument.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateRepeatState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="unsetSearchRequestListener" 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 updateRepeatState exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updateRepeatState_exist">
+ <testcase purpose="Check if interface MediaControllerSearchRequestReplyCallback exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerSearchRequestReplyCallback_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateRepeatState_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSearchRequestReplyCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateRepeatState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerSearchRequestReplyCallback" element_type="method" element_name="MediaControllerSearchRequestReplyCallback" 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 updateRepeatState method of MediaControllerServer called with missing non-optional argument does NOT throw an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updateRepeatState_misarg">
+ <testcase purpose="Check MediaControllerSearchRequestReplyCallback onreply method" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerSearchRequestReplyCallback_onreply">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateRepeatState_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSearchRequestReplyCallback_onreply.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateRepeatState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerSearchRequestReplyCallback" element_type="method" element_name="MediaControllerSearchRequestReplyCallback" 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 state conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updateRepeatState_state_TypeMismatch">
+ <testcase purpose="Check if interface MediaControllerSearchRequestCallback exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerSearchRequestCallback_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateRepeatState_state_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSearchRequestCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateRepeatState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerSearchRequestCallback" element_type="method" element_name="MediaControllerSearchRequestCallback" 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 MediaControllerServer updateShuffleMode method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updateShuffleMode">
+ <testcase purpose="Check MediaControllerSearchRequestCallback onrequest method" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerSearchRequestCallback_onrequest">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateShuffleMode.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSearchRequestCallback_onrequest.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateShuffleMode" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerSearchRequestCallback" element_type="method" element_name="MediaControllerSearchRequestCallback" 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 updateShuffleMode exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updateShuffleMode_exist">
+ <testcase purpose="Check if attribute abilities of MediaControllerServer exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_playbackInfo_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateShuffleMode_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_abilities_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateShuffleMode" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="attribute" element_name="abilities" 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 updateShuffleMode method of MediaControllerServer called with missing non-optional argument does NOT throw an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updateShuffleMode_misarg">
+ <testcase purpose="Check if findSubscribedServers() works properly" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerClient_findSubscribedServers">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateShuffleMode_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateShuffleMode" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerClient" element_type="method" element_name="findSubscribedServers" 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 ageRating of MediaControllerPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_ageRating_attribute">
+ <testcase purpose="Check argument errorCallback conversions exception" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerClient_findSubscribedServers_errorCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_ageRating_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_errorCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="ageRating" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerClient" element_type="method" element_name="findSubscribedServers" 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 MediaControllerServer updatePlaybackAgeRating method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updatePlaybackAgeRating">
+ <testcase purpose="Check if findSubscribedServers throws exception when errorCallback is invalid" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerClient_findSubscribedServers_errorCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackAgeRating.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_errorCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackAgeRating" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerClient" element_type="method" element_name="findSubscribedServers" 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 updatePlaybackAgeRating exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updatePlaybackAgeRating_exist">
+ <testcase purpose="Check if method findSubscribedServers of MediaControllerClient exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerClient_findSubscribedServers_exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackAgeRating_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackAgeRating" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerClient" element_type="method" element_name="findSubscribedServers" 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 updatePlaybackAgeRating method of MediaControllerServer called with missing non-optional argument does NOT throw an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackAgeRating_misarg">
+ <testcase purpose="Check if findSubscribedServers method of MediaControllerClient 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_findSubscribedServers_misarg">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackAgeRating_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackAgeRating" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerClient" element_type="method" element_name="findSubscribedServers" 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 rating conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch">
+ <testcase purpose="Check argument successCallback conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerClient_findSubscribedServers_successCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_successCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackAgeRating" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerClient" element_type="method" element_name="findSubscribedServers" 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="MediaControllerPlaylist_extend" priority="P3" purpose="Check if MediaControllerPlaylist object is extendable">
+ <testcase purpose="Check if findSubscribedServers 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="MediaControllerClient_findSubscribedServers_successCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_successCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerClient" element_type="method" element_name="findSubscribedServers" 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="MediaControllerPlaylist_notexist" priority="P3" purpose="Check if interface MediaControllerPlaylist exists, it should not.">
+ <testcase purpose="Check if findSubscribedServers method works properly with errorCallback argument" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerClient_findSubscribedServers_with_errorCallback">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_with_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerClient" element_type="method" element_name="findSubscribedServers" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_createPlaylist_exist" priority="P0" purpose="Check if createPlaylist exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerClient_addAbilityChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerClient addAbilityChangeListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_createPlaylist_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_addAbilityChangeListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="createPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addAbilityChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_createPlaylist" priority="P1" purpose="Check if MediaControllerServer createPlaylist method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerClient_addAbilityChangeListener_exist" priority="P0" purpose="check if addAbilityChangeListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_createPlaylist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_addAbilityChangeListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="createPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addAbilityChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_createPlaylist_invalid" priority="P2" purpose="Check if createPlaylist thrown invalid exception when playlist name already exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerClient_addAbilityChangeListener_listener_TypeMismatch" priority="P2" purpose="Check if addAbilityChangeListener throws exception when listener is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_createPlaylist_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_addAbilityChangeListener_listener_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="createPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addAbilityChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer savePlaylist method without optional argument works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerClient_addAbilityChangeListener_listener_invalid" priority="P2" purpose="Check if addAbilityChangeListener throws exception when listener is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_savePlaylist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_addAbilityChangeListener_listener_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addAbilityChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when errorCallback is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerClient_addAbilityChangeListener_misarg" priority="P2" purpose="Check if addAbilityChangeListener method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_savePlaylist_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_addAbilityChangeListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addAbilityChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when errorCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerClient_removeAbilityChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerClient removeAbilityChangeListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_savePlaylist_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_removeAbilityChangeListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeAbilityChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_exist" priority="P0" purpose="Check if savePlaylist exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerClient_removeAbilityChangeListener_exist" priority="P0" purpose="check if removeAbilityChangeListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_savePlaylist_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_removeAbilityChangeListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeAbilityChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_misarg" priority="P2" purpose="Check if savePlaylist 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="MediaControllerClient_removeAbilityChangeListener_misarg" priority="P2" purpose="Check if removeAbilityChangeListener method called with missing non-optional argument does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_savePlaylist_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_removeAbilityChangeListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeAbilityChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_playlist_TypeMismatch" priority="P2" purpose="Check if savePlaylist throws exception when state is incorrect">
+ <testcase purpose="Check if attribute abilities of MediaControllerServerInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_playbackInfo_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_savePlaylist_playlist_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_abilities_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="attribute" element_name="abilities" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_successCallback_TypeMismatch" priority="P2" purpose="Check if savePlaylist throws exception when successCallback is incorrect">
+ <testcase purpose="Check if MediaControllerAbilities object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerAbilities_extend">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_savePlaylist_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when successCallback is invalid">
+ <testcase purpose="Check if interface MediaControllerAbilities exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerAbilities_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_savePlaylist_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer savePlaylist method with all optional arguments works properly">
+ <testcase purpose="Check if attribute playback of MediaControllerAbilities exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilities_playback_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_savePlaylist_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playback_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="playback" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_invoke" onload_delay="30" priority="P2" purpose="Check if errorCallback invoked when playlist with given name does not exist">
+ <testcase purpose="Check if attribute clientCustom of MediaControllerAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilities_clientCustom_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_savePlaylist_errorCallback_invoke.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_clientCustom_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="clientCustom" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer deletePlaylist method without optional argument works properly">
+ <testcase purpose="Check if attribute playbackPosition of MediaControllerAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilities_playbackPosition_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_deletePlaylist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playbackPosition_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="playbackPosition" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when errorCallback is incorrect">
+ <testcase purpose="Check if attribute playlist of MediaControllerAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilities_playlist_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playlist_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="playlist" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when errorCallback is invalid">
+ <testcase purpose="Check if attribute repeat of MediaControllerAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilities_repeat_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_deletePlaylist_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_repeat_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="repeat" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_exist" priority="P0" purpose="Check if deletePlaylist exists">
+ <testcase purpose="Check if attribute search of MediaControllerAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilities_search_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_deletePlaylist_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_search_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="search" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_successCallback_TypeMismatch" priority="P2" purpose="Check if deletePlaylist throws exception when successCallback is incorrect">
+ <testcase purpose="Check if attribute shuffle of MediaControllerAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilities_shuffle_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_deletePlaylist_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_shuffle_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="shuffle" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when successCallback is invalid">
+ <testcase purpose="Check if MediaControllerPlaybackAbilities object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerPlaybackAbilities_extend">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_deletePlaylist_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer deletePlaylist method with all optional arguments works properly">
+ <testcase purpose="Check if interface MediaControllerPlaybackAbilities exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerPlaybackAbilities_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_deletePlaylist_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_invoke" onload_delay="30" priority="P2" purpose="Check if errorCallback invoked when playlist with given name does not exist">
+ <testcase purpose="Check if attribute play of MediaControllerPlaybackAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilities_play_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_deletePlaylist_errorCallback_invoke.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_play_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="play" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_updatePlaybackItem_exist" priority="P0" purpose="Check if updatePlaybackItem exists">
+ <testcase purpose="Check if attribute forward of MediaControllerPlaybackAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilities_forward_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackItem_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_forward_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="updatePlaybackItem" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="forward" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_updatePlaybackItem" priority="P1" purpose="Check if MediaControllerServer updatePlaybackItem method works properly">
+ <testcase purpose="Check if attribute next of MediaControllerPlaybackAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilities_next_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackItem.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_next_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="updatePlaybackItem" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="next" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer getAllPlaylists method without optional argument works properly">
+ <testcase purpose="Check if attribute pause of MediaControllerPlaybackAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilities_pause_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllPlaylists.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_pause_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="pause" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is incorrect">
+ <testcase purpose="Check if attribute prev of MediaControllerPlaybackAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilities_prev_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_prev_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="prev" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is invalid">
+ <testcase purpose="Check if attribute rewind of MediaControllerPlaybackAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilities_rewind_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_rewind_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="rewind" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_exist" priority="P0" purpose="Check if getAllPlaylists exists">
+ <testcase purpose="Check if attribute stop of MediaControllerPlaybackAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilities_stop_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllPlaylists_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_stop_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="stop" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_misarg" priority="P2" purpose="Check if getAllPlaylists method called with missing non-optional argument throws an exception">
+ <testcase purpose="Check if attribute togglePlayPause of MediaControllerPlaybackAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilities_togglePlayPause_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllPlaylists_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_togglePlayPause_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="togglePlayPause" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is incorrect">
+ <testcase purpose="Check if saveAbilities method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilities_saveAbilities">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_saveAbilities.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="method" element_name="saveAbilities" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is invalid">
+ <testcase purpose="Check if saveAbilities exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerPlaybackAbilities_saveAbilities_exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllPlaylists_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_saveAbilities_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="method" element_name="saveAbilities" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer getAllPlaylists method with all optional arguments works properly">
+ <testcase purpose="Check using MediaControllerPlaybackAbilities::saveAbilities() method with extra argument" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_saveAbilities_extra_argument">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllPlaylists_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_saveAbilities_extra_argument.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="method" element_name="saveAbilities" 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="MediaControllerServerInfo_getAllPlaylists" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo getAllPlaylists method without optional argument works properly">
+ <testcase purpose="Check if MediaControllerAbilitiesInfo object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerAbilitiesInfo_extend">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_getAllPlaylists.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilitiesInfo" 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="MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is incorrect">
+ <testcase purpose="Check if interface MediaControllerAbilitiesInfo exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerAbilitiesInfo_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilitiesInfo" 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="MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is invalid">
+ <testcase purpose="Check if attribute playback of MediaControllerAbilitiesInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_playback_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_playback_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="attribute" element_name="playback" 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="MediaControllerServerInfo_getAllPlaylists_exist" priority="P0" purpose="Check if getAllPlaylists exists">
+ <testcase purpose="Check if attribute clientCustom of MediaControllerAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_clientCustom_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_getAllPlaylists_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_clientCustom_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="attribute" element_name="clientCustom" 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="MediaControllerServerInfo_getAllPlaylists_misarg" priority="P2" purpose="Check if getAllPlaylists method called with missing non-optional argument throws an exception">
+ <testcase purpose="Check if attribute playbackPosition of MediaControllerAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_playbackPosition_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_getAllPlaylists_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_playbackPosition_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="attribute" element_name="playbackPosition" 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="MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is incorrect">
+ <testcase purpose="Check if attribute playlist of MediaControllerAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_playlist_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_playlist_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="attribute" element_name="playlist" 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="MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is invalid">
+ <testcase purpose="Check if attribute repeat of MediaControllerAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_repeat_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_repeat_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="attribute" element_name="repeat" 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="MediaControllerServerInfo_getAllPlaylists_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo getAllPlaylists method with all optional arguments works properly">
+ <testcase purpose="Check if attribute search of MediaControllerAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_search_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_getAllPlaylists_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_search_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="attribute" element_name="search" 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="MediaControllerServerInfo_sendPlaybackItem" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackItem method without optional argument works properly">
+ <testcase purpose="Check if attribute shuffle of MediaControllerAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_shuffle_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackItem.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_shuffle_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendPlaybackItem" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="attribute" element_name="shuffle" 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="MediaControllerServerInfo_sendPlaybackItem_exist" priority="P0" purpose="Check if sendPlaybackItem exists">
+ <testcase purpose="Check if subscribe method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_subscribe">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackItem_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_subscribe.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendPlaybackItem" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="method" element_name="subscribe" 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="MediaControllerServerInfo_sendPlaybackItem_misarg" priority="P2" purpose="Check if sendPlaybackItem method called with missing non-optional argument throws an exception">
+ <testcase purpose="Check if subscribe exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerAbilitiesInfo_subscribe_exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackItem_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_subscribe_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendPlaybackItem" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="method" element_name="subscribe" 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="MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch" priority="P2" purpose="Check if sendPlaybackItem throws exception when state is incorrect">
+ <testcase purpose="Check using MediaControllerAbilitiesInfo::subscribe() method with extra argument" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilitiesInfo_subscribe_extra_argument">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_subscribe_extra_argument.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendPlaybackItem" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="method" element_name="subscribe" 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="MediaControllerServerInfo_addPlaylistUpdatedListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo addPlaylistUpdatedListener method works properly">
+ <testcase purpose="Check if subscribe method throws exception when addAbilityChangeListener is not set" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilitiesInfo_subscribe_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_addPlaylistUpdatedListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_subscribe_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addPlaylistUpdatedListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="method" element_name="subscribe" 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="MediaControllerServerInfo_addPlaylistUpdatedListener_exist" priority="P0" purpose="check if addPlaylistUpdatedListener exists">
+ <testcase purpose="Check if unsubscribe method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_unsubscribe">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_addPlaylistUpdatedListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_unsubscribe.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addPlaylistUpdatedListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="method" element_name="unsubscribe" 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="MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch" priority="P2" purpose="Check if addPlaylistUpdatedListener throws exception when listener is incorrect">
+ <testcase purpose="Check if unsubscribe exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerAbilitiesInfo_unsubscribe_exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_unsubscribe_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addPlaylistUpdatedListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="method" element_name="unsubscribe" 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="MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid" priority="P2" purpose="Check if addPlaylistUpdatedListener throws exception when listener is invalid">
+ <testcase purpose="Check using MediaControllerAbilitiesInfo::unsubscribe() method with extra argument" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilitiesInfo_unsubscribe_extra_argument">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_unsubscribe_extra_argument.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addPlaylistUpdatedListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="method" element_name="unsubscribe" 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="MediaControllerServerInfo_addPlaylistUpdatedListener_misarg" priority="P2" purpose="Check if addPlaylistUpdatedListener method called with missing non-optional argument throws an exception">
+ <testcase purpose="Check if MediaControllerPlaybackAbilitiesInfo object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerPlaybackAbilitiesInfo_extend">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_addPlaylistUpdatedListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addPlaylistUpdatedListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilitiesInfo" 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="MediaControllerServerInfo_removePlaylistUpdatedListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo removePlaylistUpdatedListener method works properly">
+ <testcase purpose="Check if interface MediaControllerPlaybackAbilitiesInfo exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerPlaybackAbilitiesInfo_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_removePlaylistUpdatedListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removePlaylistUpdatedListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilitiesInfo" 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="MediaControllerServerInfo_removePlaylistUpdatedListener_exist" priority="P0" purpose="check if removePlaylistUpdatedListener exists">
+ <testcase purpose="Check if attribute play of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilitiesInfo_play_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_removePlaylistUpdatedListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_play_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removePlaylistUpdatedListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilitiesInfo" element_type="attribute" element_name="play" 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="MediaControllerServerInfo_removePlaylistUpdatedListener_misarg" priority="P2" purpose="Check if removePlaylistUpdatedListener method called with missing non-optional argument does not throw any exception">
+ <testcase purpose="Check if attribute forward of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilitiesInfo_forward_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_removePlaylistUpdatedListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_forward_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removePlaylistUpdatedListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilitiesInfo" element_type="attribute" element_name="forward" 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="MediaControllerPlaybackInfo_index_attribute" priority="P1" purpose="Check if attribute index of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <testcase purpose="Check if attribute next of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilitiesInfo_next_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_index_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_next_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackInfo" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilitiesInfo" element_type="attribute" element_name="next" 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="MediaControllerPlaybackInfo_playlistName_attribute" priority="P1" purpose="Check if attribute playlistName of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <testcase purpose="Check if attribute pause of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilitiesInfo_pause_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_playlistName_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_pause_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackInfo" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilitiesInfo" element_type="attribute" element_name="pause" 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="MediaControllerChangeRequestPlaybackInfoCallback_onplaybackitemrequest" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaybackInfoChangeCallback onplaybackitemrequest is called and if its arguments have proper type">
+ <testcase purpose="Check if attribute prev of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilitiesInfo_prev_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_onplaybackitemrequest.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_prev_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerChangeRequestPlaybackInfoCallback" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilitiesInfo" element_type="attribute" element_name="prev" 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="MediaControllerPlaylistItem_extend" priority="P3" purpose="Check if MediaControllerPlaylistItem object is extendable">
+ <testcase purpose="Check if attribute rewind of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilitiesInfo_rewind_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistItem_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_rewind_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylistItem" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilitiesInfo" element_type="attribute" element_name="rewind" 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="MediaControllerPlaylistItem_notexist" priority="P3" purpose="Check if interface MediaControllerPlaylistItem exists, it should not.">
+ <testcase purpose="Check if attribute stop of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilitiesInfo_stop_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistItem_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_stop_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylistItem" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilitiesInfo" element_type="attribute" element_name="stop" 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="MediaControllerPlaylistItem_index_attribute" priority="P1" purpose="Check if attribute index of MediaControllerPlaylistItem exists, has type string and is readonly">
+ <testcase purpose="Check if attribute togglePlayPause of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilitiesInfo_togglePlayPause_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistItem_index_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_togglePlayPause_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylistItem" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilitiesInfo" element_type="attribute" element_name="togglePlayPause" 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="MediaControllerPlaylistItem_metadata_attribute" priority="P1" purpose="Check if attribute metadata of MediaControllerPlaylistItem exists, has type object and is readonly">
+ <testcase purpose="Check if interface MediaControllerAbilityChangeCallback exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerAbilityChangeCallback_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistItem_metadata_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilityChangeCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylistItem" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilityChangeCallback" 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="MediaControllerPlaylist_name_attribute" priority="P1" purpose="Check if attribute name of MediaControllerPlaylist exists, has type object and is readonly">
+ <testcase purpose="Check if MediaControllerAbilityChangeCallback onplaybackabilitychanged is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilityChangeCallback_onplaybackabilitychanged">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_name_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilityChangeCallback_onplaybackabilitychanged.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilityChangeCallback" element_type="method" element_name="onplaybackabilitychanged" 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="MediaControllerPlaylist_addItem" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylist addItem method without optional argument works properly">
+ <testcase purpose="Check if MediaControllerAbilityChangeCallback onsimpleabilitychanged is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilityChangeCallback_onsimpleabilitychanged">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_addItem.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilityChangeCallback_onsimpleabilitychanged.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilityChangeCallback" element_type="method" element_name="onsimpleabilitychanged" 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="MediaControllerPlaylist_addItem_metadata_empty" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylist addItem method works properly">
+ <testcase purpose="Check argument clientCustom conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_clientCustom_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_addItem_metadata_empty.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_clientCustom_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="clientCustom" 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="MediaControllerPlaylist_addItem_exist" priority="P0" purpose="Check if addItem exists">
+ <testcase purpose="Check MediaControllerAbilities throws exception with invalid clientCustom value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_clientCustom_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_addItem_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_clientCustom_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="clientCustom" 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="MediaControllerPlaylist_addItem_misarg" priority="P2" purpose="Check if addItem method called with missing non-optional argument throws an exception">
+ <testcase purpose="Check argument playbackPosition conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_playbackPosition_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_addItem_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playbackPosition_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="playbackPosition" 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="MediaControllerPlaylist_addItem_metadata_TypeMismatch" priority="P2" purpose="Check if addItem throws exception when metadata is incorrect">
+ <testcase purpose="Check MediaControllerAbilities throws exception with invalid playbackPosition value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_playbackPosition_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_addItem_metadata_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playbackPosition_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="playbackPosition" 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="MediaControllerPlaylist_getItems" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylist getItems method without optional argument works properly">
+ <testcase purpose="Check argument playlist conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_playlist_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playlist_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="playlist" 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="MediaControllerPlaylist_getItems_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getItems throws exception when errorCallback is incorrect">
+ <testcase purpose="Check MediaControllerAbilities throws exception with invalid playlist value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_playlist_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playlist_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="playlist" 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="MediaControllerPlaylist_getItems_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getItems throws exception when errorCallback is invalid">
+ <testcase purpose="Check argument repeat conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_repeat_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_repeat_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="repeat" 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="MediaControllerPlaylist_getItems_exist" priority="P0" purpose="Check if getItems exists">
+ <testcase purpose="Check MediaControllerAbilities throws exception with invalid repeat value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_repeat_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_repeat_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="repeat" 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="MediaControllerPlaylist_getItems_misarg" priority="P2" purpose="Check if getItems method called with missing non-optional argument throws an exception">
+ <testcase purpose="Check argument search conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_search_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_search_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="search" 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="MediaControllerPlaylist_getItems_successCallback_TypeMismatch" priority="P2" purpose="Check if getItems throws exception when successCallback is incorrect">
+ <testcase purpose="Check MediaControllerAbilities throws exception with invalid search value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_search_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_search_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="search" 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="MediaControllerPlaylist_getItems_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getItems throws exception when successCallback is invalid">
+ <testcase purpose="Check argument shuffle conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_shuffle_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_shuffle_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="shuffle" 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="MediaControllerPlaylist_getItems_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylist getItems method with all optional arguments works properly">
+ <testcase purpose="Check MediaControllerAbilities throws exception with invalid shuffle value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_shuffle_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_shuffle_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="shuffle" 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="MediaControllerGetAllPlaylistsSuccessCallback_notexist" priority="P3" purpose="Check if interface MediaControllerGetAllPlaylistsSuccessCallback exists, it should not">
+ <testcase purpose="Check argument forward conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_forward_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerGetAllPlaylistsSuccessCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_forward_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerGetAllPlaylistsSuccessCallback" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="forward" 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="MediaControllerGetAllPlaylistsSuccessCallback_onsuccess" onload_delay="90" priority="P1" purpose="Check MediaControllerGetAllPlaylistsSuccessCallback onsuccess method">
+ <testcase purpose="Check MediaControllerPlaybackAbilities throws exception with invalid forward value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_forward_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerGetAllPlaylistsSuccessCallback_onsuccess.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_forward_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerGetAllPlaylistsSuccessCallback" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="forward" 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="MediaControllerPlaylistUpdatedCallback_notexist" priority="P3" purpose="Check if interface MediaControllerPlaylistUpdatedCallback exists, it should not">
+ <testcase purpose="Check argument next conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_next_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistUpdatedCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_next_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylistUpdatedCallback" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="next" 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="MediaControllerPlaylistUpdatedCallback_onplaylistupdated" onload_delay="90" priority="P1" purpose="Check MediaControllerPlaylistUpdatedCallback onplaylistupdated method">
+ <testcase purpose="Check MediaControllerPlaybackAbilities throws exception with invalid next value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_next_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistUpdatedCallback_onplaylistupdated.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_next_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylistUpdatedCallback" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="next" 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="MediaControllerPlaylistUpdatedCallback_onplaylistdeleted" onload_delay="90" priority="P1" purpose="Check MediaControllerPlaylistUpdatedCallback onplaylistdeleted method">
+ <testcase purpose="Check argument pause conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_pause_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistUpdatedCallback_onplaylistdeleted.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_pause_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaylistUpdatedCallback" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="pause" 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="MediaControllerGetItemsSuccessCallback_notexist" priority="P3" purpose="Check if interface MediaControllerGetItemsSuccessCallback exists, it should not">
+ <testcase purpose="Check MediaControllerPlaybackAbilities throws exception with invalid pause value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_pause_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerGetItemsSuccessCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_pause_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerGetItemsSuccessCallback" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="pause" 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="MediaControllerGetItemsSuccessCallback_onsuccess" onload_delay="90" priority="P1" purpose="Check MediaControllerGetItemsSuccessCallback onsuccess method">
+ <testcase purpose="Check argument play conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_play_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerGetItemsSuccessCallback_onsuccess.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_play_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerGetItemsSuccessCallback" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="play" 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 MediaControllerServer updatePlaybackContentType method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updatePlaybackContentType">
+ <testcase purpose="Check MediaControllerPlaybackAbilities throws exception with invalid play value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_play_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackContentType.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_play_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackContentType" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="play" 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 updatePlaybackState exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updatePlaybackContentType_exist">
+ <testcase purpose="Check argument prev conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_prev_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackContentType_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_prev_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackContentType" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="prev" 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 updatePlaybackState 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="MediaControllerServer_updatePlaybackContentType_misarg">
+ <testcase purpose="Check MediaControllerPlaybackAbilities throws exception with invalid prev value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_prev_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackContentType_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_prev_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackContentType" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="prev" 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 state conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch">
+ <testcase purpose="Check argument rewind conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_rewind_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_rewind_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackContentType" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="rewind" 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 updatePlaybackState throws type exception with invalid state value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackContentType_contentType_invalid">
+ <testcase purpose="Check MediaControllerPlaybackAbilities throws exception with invalid rewind value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_rewind_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackContentType_contentType_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_rewind_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackContentType" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="rewind" 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 contentType of MediaControllerPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_contentType_attribute">
+ <testcase purpose="Check argument stop conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_stop_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_contentType_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_stop_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackInfo" element_type="contentType" element_name="repeatMode" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="stop" 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 MediaControllerServer updateIconURI method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updateIconURI">
+ <testcase purpose="Check MediaControllerPlaybackAbilities throws exception with invalid stop value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_stop_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateIconURI.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_stop_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateIconURI" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="stop" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if updateIconURI exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updateIconURI_exist">
+ <testcase purpose="Check argument togglePlayPause conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_togglePlayPause_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateIconURI_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_togglePlayPause_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateIconURI" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="togglePlayPause" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute iconURI of MediaControllerServer exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_iconURI_attribute">
+ <testcase purpose="Check MediaControllerPlaybackAbilities throws exception with invalid togglePlayPause value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_togglePlayPause_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_iconURI_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_togglePlayPause_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="attribute" element_name="iconURI" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="togglePlayPause" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute iconURI of MediaControllerServerInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_iconURI_attribute">
+ <testcase purpose="Check if attribute mode360 of MediaControllerServer exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_mode360_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_iconURI_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_mode360_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="attribute" element_name="iconURI" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="attribute" element_name="mode360" 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 SearchFilter exist" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="SearchFilter_exist">
+ <testcase purpose="Check if attribute mode360 of MediaControllerServerInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_mode360_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_mode360_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="constructor" element_name="SearchFilter" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="attribute" element_name="mode360" 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 SearchFilter constructor is correct" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="SearchFilter_constructor">
+ <testcase purpose="Check if attribute mode360 of MediaControllerAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilities_mode360_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_constructor.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_mode360_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="constructor" element_name="SearchFilter" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="mode360" 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 SearchFilter constructor is correct without all optional arguments" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="SearchFilter_constructor_min">
+ <testcase purpose="Check argument mode360 conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_mode360_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_constructor_min.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_mode360_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="constructor" element_name="SearchFilter" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="mode360" 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 RequestReply exist" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="RequestReply_exist">
+ <testcase purpose="Check MediaControllerAbilities throws exception with invalid mode360 value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_mode360_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/RequestReply_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_mode360_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="constructor" element_name="RequestReply" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="mode360" 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 RequestReply constructor is correct" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="RequestReply_constructor">
+ <testcase purpose="Check if attribute mode360 of MediaControllerAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_mode360_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/RequestReply_constructor.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_mode360_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="constructor" element_name="RequestReply" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="attribute" element_name="mode360" 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 RequestReply constructor is correct without all optional arguments" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="RequestReply_constructor_min">
+ <testcase purpose="Check if MediaControllerMode360 object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerMode360_extend">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/RequestReply_constructor_min.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="constructor" element_name="RequestReply" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerMode360" 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 argument contentType conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="SearchFilter_contentType_TypeMismatch">
+ <testcase purpose="Check if interface MediaControllerMode360 exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerMode360_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_contentType_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="constructor" element_name="SearchFilter" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerMode360" 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 argument category conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="SearchFilter_category_TypeMismatch">
+ <testcase purpose="Check if attribute enabled of MediaControllerMode360 exists, has type boolean" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerMode360_enabled_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_category_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_enabled_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="constructor" element_name="SearchFilter" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerMode360" element_type="attribute" element_name="enabled" 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 SearchFilter throws exception with invalid category value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="SearchFilter_category_invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerMode360_addChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerMode360 addChangeRequestListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_category_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_addChangeRequestListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="constructor" element_name="SearchFilter" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addChangeRequestListener" 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 SearchFilter throws exception with invalid keyword value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="SearchFilter_keyword_invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerMode360_addChangeRequestListener_exist" priority="P0" purpose="check if addChangeRequestListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_keyword_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_addChangeRequestListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="constructor" element_name="SearchFilter" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addChangeRequestListener" 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 sendSearchRequest() works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendSearchRequest">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerMode360_addChangeRequestListener_listener_TypeMismatch" priority="P2" purpose="Check if addChangeRequestListener throws exception when listener is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_addChangeRequestListener_listener_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendSearchRequest" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addChangeRequestListener" 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 argument errorCallback conversions exception" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendSearchRequest_errorCallback_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerMode360_addChangeRequestListener_listener_invalid" priority="P2" purpose="Check if addChangeRequestListener throws exception when listener is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_addChangeRequestListener_listener_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendSearchRequest" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addChangeRequestListener" 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 sendSearchRequest throws exception when errorCallback is invalid" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendSearchRequest_errorCallback_invalid_cb">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerMode360_addChangeRequestListener_misarg" priority="P2" purpose="Check if addChangeRequestListener method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_addChangeRequestListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addChangeRequestListener" 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 method sendSearchRequest of MediaControllerServerInfo exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_sendSearchRequest_exist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerMode360_removeChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerMode360 removeChangeRequestListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_removeChangeRequestListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendSearchRequest" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeChangeRequestListener" 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 argument request conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendSearchRequest_request_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerMode360_removeChangeRequestListener_exist" priority="P0" purpose="check if removeChangeRequestListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_request_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_removeChangeRequestListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendSearchRequest" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeChangeRequestListener" 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 sendSearchRequest throws invalid error when request objects greater then 20" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendSearchRequest_request_invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerMode360_removeChangeRequestListener_misarg" priority="P2" purpose="Check if removeChangeRequestListener method called with missing non-optional argument does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_request_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_removeChangeRequestListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendSearchRequest" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeChangeRequestListener" 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 argument replyCallback conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendSearchRequest_replyCallback_TypeMismatch">
+ <testcase purpose="Check if MediaControllerMode360Info object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerMode360Info_extend">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_replyCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendSearchRequest" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerMode360Info" 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 sendSearchRequest throws exception when replyCallback is invalid" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendSearchRequest_replyCallback_invalid_cb">
+ <testcase purpose="Check if interface MediaControllerMode360Info exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerMode360Info_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_replyCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendSearchRequest" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerMode360Info" 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 sendSearchRequest method works properly with errorCallback argument" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendSearchRequest_with_errorCallback">
+ <testcase purpose="Check if attribute enabled of MediaControllerMode360Info exists, has type boolean and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerMode360Info_enabled_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_enabled_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendSearchRequest" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerMode360Info" element_type="attribute" element_name="enabled" 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 MediaControllerServer setSearchRequestListener method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_setSearchRequestListener">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerMode360Info_addModeChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerMode360Info addModeChangeListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_setSearchRequestListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_addModeChangeListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="setSearchRequestListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addModeChangeListener" 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 setSearchRequestListener exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_setSearchRequestListener_exist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerMode360Info_addModeChangeListener_exist" priority="P0" purpose="check if addModeChangeListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_setSearchRequestListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_addModeChangeListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="setSearchRequestListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addModeChangeListener" 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 setSearchRequestListener throws exception when listener is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_setSearchRequestListener_listener_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerMode360Info_addModeChangeListener_listener_TypeMismatch" priority="P2" purpose="Check if addModeChangeListener throws exception when listener is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_setSearchRequestListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_addModeChangeListener_listener_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="setSearchRequestListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addModeChangeListener" 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 setSearchRequestListener throws exception when listener is invalid" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_setSearchRequestListener_listener_invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerMode360Info_addModeChangeListener_listener_invalid" priority="P2" purpose="Check if addModeChangeListener throws exception when listener is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_setSearchRequestListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_addModeChangeListener_listener_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="setSearchRequestListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addModeChangeListener" 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 setSearchRequestListener 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="MediaControllerServer_setSearchRequestListener_misarg">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerMode360Info_addModeChangeListener_misarg" priority="P2" purpose="Check if addModeChangeListener method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_setSearchRequestListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_addModeChangeListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="setSearchRequestListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addModeChangeListener" 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 MediaControllerServer unsetSearchRequestListener method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_unsetSearchRequestListener">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerMode360Info_removeModeChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerMode360Info removeModeChangeListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_unsetSearchRequestListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_removeModeChangeListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="unsetSearchRequestListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeModeChangeListener" 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 unsetSearchRequestListener exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_unsetSearchRequestListener_exist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerMode360Info_removeModeChangeListener_exist" priority="P0" purpose="check if removeModeChangeListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_unsetSearchRequestListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_removeModeChangeListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="unsetSearchRequestListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeModeChangeListener" 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 using unsetSearchRequestListener method with extra argument" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_unsetSearchRequestListener_extra_argument">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerMode360Info_removeModeChangeListener_misarg" priority="P2" purpose="Check if removeModeChangeListener method called with missing non-optional argument does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_unsetSearchRequestListener_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_removeModeChangeListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="method" element_name="unsetSearchRequestListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeModeChangeListener" 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 interface MediaControllerSearchRequestReplyCallback exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerSearchRequestReplyCallback_notexist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerMode360Info_sendRequest" onload_delay="30" priority="P1" purpose="Check if MediaControllerMode360Info sendRequest method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSearchRequestReplyCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_sendRequest.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerSearchRequestReplyCallback" element_type="method" element_name="MediaControllerSearchRequestReplyCallback" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendRequest" 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 MediaControllerSearchRequestReplyCallback onreply method" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerSearchRequestReplyCallback_onreply">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerMode360Info_sendRequest_exist" priority="P0" purpose="check if sendRequest exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSearchRequestReplyCallback_onreply.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_sendRequest_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerSearchRequestReplyCallback" element_type="method" element_name="MediaControllerSearchRequestReplyCallback" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendRequest" 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 interface MediaControllerSearchRequestCallback exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerSearchRequestCallback_notexist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerMode360Info_sendRequest_replyCallback_TypeMismatch" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSearchRequestCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_sendRequest_replyCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerSearchRequestCallback" element_type="method" element_name="MediaControllerSearchRequestCallback" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendRequest" 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 MediaControllerSearchRequestCallback onrequest method" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerSearchRequestCallback_onrequest">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerMode360Info_sendRequest_replyCallback_invalid_cb" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSearchRequestCallback_onrequest.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_sendRequest_replyCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerSearchRequestCallback" element_type="method" element_name="MediaControllerSearchRequestCallback" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendRequest" 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 abilities of MediaControllerServer exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_playbackInfo_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerMode360Info_sendRequest_misarg" priority="P2" purpose="Check if sendRequest method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_abilities_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_sendRequest_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="attribute" element_name="abilities" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendRequest" 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 findSubscribedServers() works properly" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerClient_findSubscribedServers">
+ <testcase purpose="Check if interface MediaControllerEnabledChangeCallback exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerEnabledChangeCallback_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerEnabledChangeCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerClient" element_type="method" element_name="findSubscribedServers" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerEnabledChangeCallback" 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 argument errorCallback conversions exception" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerClient_findSubscribedServers_errorCallback_TypeMismatch">
+ <testcase purpose="Check if MediaControllerEnabledChangeCallback onchange is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerEnabledChangeCallback_onchange">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerEnabledChangeCallback_onchange.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerClient" element_type="method" element_name="findSubscribedServers" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerEnabledChangeCallback" element_type="method" element_name="onchange" 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 findSubscribedServers throws exception when errorCallback is invalid" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerClient_findSubscribedServers_errorCallback_invalid_cb">
+ <testcase purpose="Check if interface MediaControllerEnabledChangeRequestCallback exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerEnabledChangeRequestCallback_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerEnabledChangeRequestCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerClient" element_type="method" element_name="findSubscribedServers" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerEnabledChangeRequestCallback" 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 method findSubscribedServers of MediaControllerClient exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerClient_findSubscribedServers_exist">
+ <testcase purpose="Check if MediaControllerEnabledChangeRequestCallback onreply is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerEnabledChangeRequestCallback_onreply">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerEnabledChangeRequestCallback_onreply.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerClient" element_type="method" element_name="findSubscribedServers" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerEnabledChangeRequestCallback" element_type="method" element_name="onreply" 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 findSubscribedServers method of MediaControllerClient 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_findSubscribedServers_misarg">
+ <testcase purpose="Check if attribute subtitles of MediaControllerServer exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_subtitles_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_subtitles_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerClient" element_type="method" element_name="findSubscribedServers" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="attribute" element_name="subtitles" 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="MediaControllerClient_findSubscribedServers_successCallback_TypeMismatch">
+ <testcase purpose="Check if attribute subtitles of MediaControllerServerInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_subtitles_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_subtitles_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerClient" element_type="method" element_name="findSubscribedServers" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="attribute" element_name="subtitles" 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 findSubscribedServers 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="MediaControllerClient_findSubscribedServers_successCallback_invalid_cb">
+ <testcase purpose="Check if attribute subtitles of MediaControllerAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilities_subtitles_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_subtitles_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerClient" element_type="method" element_name="findSubscribedServers" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="subtitles" 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 findSubscribedServers method works properly with errorCallback argument" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerClient_findSubscribedServers_with_errorCallback">
+ <testcase purpose="Check argument subtitles conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_subtitles_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_subtitles_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerClient" element_type="method" element_name="findSubscribedServers" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="subtitles" 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="MediaControllerClient_addAbilityChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerClient addAbilityChangeListener method works properly">
+ <testcase purpose="Check MediaControllerAbilities throws exception with invalid subtitles value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_subtitles_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_addAbilityChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_subtitles_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addAbilityChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="subtitles" 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="MediaControllerClient_addAbilityChangeListener_exist" priority="P0" purpose="check if addAbilityChangeListener exists">
+ <testcase purpose="Check if attribute subtitles of MediaControllerAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_subtitles_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_addAbilityChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_subtitles_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addAbilityChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="attribute" element_name="subtitles" 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="MediaControllerClient_addAbilityChangeListener_listener_TypeMismatch" priority="P2" purpose="Check if addAbilityChangeListener throws exception when listener is incorrect">
+ <testcase purpose="Check if MediaControllerSubtitles object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerSubtitles_extend">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_addAbilityChangeListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addAbilityChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerSubtitles" 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="MediaControllerClient_addAbilityChangeListener_listener_invalid" priority="P2" purpose="Check if addAbilityChangeListener throws exception when listener is invalid">
+ <testcase purpose="Check if interface MediaControllerSubtitles exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerSubtitles_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_addAbilityChangeListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addAbilityChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerSubtitles" 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="MediaControllerClient_addAbilityChangeListener_misarg" priority="P2" purpose="Check if addAbilityChangeListener method called with missing non-optional argument throws an exception">
+ <testcase purpose="Check if attribute enabled of MediaControllerSubtitles exists, has type boolean" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerSubtitles_enabled_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_addAbilityChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_enabled_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addAbilityChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerSubtitles" element_type="attribute" element_name="enabled" 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="MediaControllerClient_removeAbilityChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerClient removeAbilityChangeListener method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitles_addChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerSubtitles addChangeRequestListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_removeAbilityChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_addChangeRequestListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeAbilityChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addChangeRequestListener" 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="MediaControllerClient_removeAbilityChangeListener_exist" priority="P0" purpose="check if removeAbilityChangeListener exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitles_addChangeRequestListener_exist" priority="P0" purpose="check if addChangeRequestListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_removeAbilityChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_addChangeRequestListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeAbilityChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addChangeRequestListener" 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="MediaControllerClient_removeAbilityChangeListener_misarg" priority="P2" purpose="Check if removeAbilityChangeListener 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="MediaControllerSubtitles_addChangeRequestListener_listener_TypeMismatch" priority="P2" purpose="Check if addChangeRequestListener throws exception when listener is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_removeAbilityChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_addChangeRequestListener_listener_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeAbilityChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addChangeRequestListener" 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 abilities of MediaControllerServerInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_playbackInfo_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitles_addChangeRequestListener_listener_invalid" priority="P2" purpose="Check if addChangeRequestListener throws exception when listener is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_abilities_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_addChangeRequestListener_listener_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="attribute" element_name="abilities" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addChangeRequestListener" 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 MediaControllerAbilities object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerAbilities_extend">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitles_addChangeRequestListener_misarg" priority="P2" purpose="Check if addChangeRequestListener method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_addChangeRequestListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addChangeRequestListener" 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 interface MediaControllerAbilities exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerAbilities_notexist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitles_removeChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerSubtitles removeChangeRequestListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_removeChangeRequestListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeChangeRequestListener" 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 playback of MediaControllerAbilities exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilities_playback_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitles_removeChangeRequestListener_exist" priority="P0" purpose="check if removeChangeRequestListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playback_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_removeChangeRequestListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="playback" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeChangeRequestListener" 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 clientCustom of MediaControllerAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilities_clientCustom_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitles_removeChangeRequestListener_misarg" priority="P2" purpose="Check if removeChangeRequestListener method called with missing non-optional argument does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_clientCustom_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_removeChangeRequestListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="clientCustom" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeChangeRequestListener" 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 playbackPosition of MediaControllerAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilities_playbackPosition_attribute">
+ <testcase purpose="Check if MediaControllerSubtitlesInfo object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerSubtitlesInfo_extend">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playbackPosition_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="playbackPosition" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerSubtitlesInfo" 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 playlist of MediaControllerAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilities_playlist_attribute">
+ <testcase purpose="Check if interface MediaControllerSubtitlesInfo exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerSubtitlesInfo_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playlist_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="playlist" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerSubtitlesInfo" 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 repeat of MediaControllerAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilities_repeat_attribute">
+ <testcase purpose="Check if attribute enabled of MediaControllerSubtitlesInfo exists, has type boolean and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerSubtitlesInfo_enabled_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_repeat_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_enabled_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="repeat" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerSubtitlesInfo" element_type="attribute" element_name="enabled" 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 search of MediaControllerAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilities_search_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_addModeChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerSubtitlesInfo addModeChangeListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_search_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_addModeChangeListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="search" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addModeChangeListener" 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 shuffle of MediaControllerAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilities_shuffle_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_addModeChangeListener_exist" priority="P0" purpose="check if addModeChangeListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_shuffle_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_addModeChangeListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="shuffle" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addModeChangeListener" 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 MediaControllerPlaybackAbilities object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerPlaybackAbilities_extend">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_addModeChangeListener_listener_TypeMismatch" priority="P2" purpose="Check if addModeChangeListener throws exception when listener is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_addModeChangeListener_listener_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addModeChangeListener" 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 interface MediaControllerPlaybackAbilities exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerPlaybackAbilities_notexist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_addModeChangeListener_listener_invalid" priority="P2" purpose="Check if addModeChangeListener throws exception when listener is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_addModeChangeListener_listener_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addModeChangeListener" 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 play of MediaControllerPlaybackAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilities_play_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_addModeChangeListener_misarg" priority="P2" purpose="Check if addModeChangeListener method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_play_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_addModeChangeListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="play" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addModeChangeListener" 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 forward of MediaControllerPlaybackAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilities_forward_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_removeModeChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerSubtitlesInfo removeModeChangeListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_forward_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_removeModeChangeListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="forward" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeModeChangeListener" 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 next of MediaControllerPlaybackAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilities_next_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_removeModeChangeListener_exist" priority="P0" purpose="check if removeModeChangeListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_next_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_removeModeChangeListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="next" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeModeChangeListener" 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 pause of MediaControllerPlaybackAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilities_pause_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_removeModeChangeListener_misarg" priority="P2" purpose="Check if removeModeChangeListener method called with missing non-optional argument does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_pause_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_removeModeChangeListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="pause" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeModeChangeListener" 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 prev of MediaControllerPlaybackAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilities_prev_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_sendRequest" onload_delay="30" priority="P1" purpose="Check if MediaControllerSubtitlesInfo sendRequest method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_prev_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_sendRequest.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="prev" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendRequest" 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 rewind of MediaControllerPlaybackAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilities_rewind_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_sendRequest_exist" priority="P0" purpose="check if sendRequest exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_rewind_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_sendRequest_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="rewind" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendRequest" 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 stop of MediaControllerPlaybackAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilities_stop_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_sendRequest_replyCallback_TypeMismatch" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_stop_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_sendRequest_replyCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="stop" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendRequest" 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 togglePlayPause of MediaControllerPlaybackAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilities_togglePlayPause_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_sendRequest_replyCallback_invalid_cb" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_togglePlayPause_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_sendRequest_replyCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="togglePlayPause" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendRequest" 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 saveAbilities method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilities_saveAbilities">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_sendRequest_misarg" priority="P2" purpose="Check if sendRequest method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_saveAbilities.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_sendRequest_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="method" element_name="saveAbilities" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendRequest" 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 saveAbilities exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerPlaybackAbilities_saveAbilities_exist">
+ <testcase purpose="Check if interface MediaControllerDisplayModeChangeCallback exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayModeChangeCallback_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_saveAbilities_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeChangeCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="method" element_name="saveAbilities" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayModeChangeCallback" 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 using MediaControllerPlaybackAbilities::saveAbilities() method with extra argument" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_saveAbilities_extra_argument">
+ <testcase purpose="Check if MediaControllerDisplayModeChangeCallback onchange is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayModeChangeCallback_onchange">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_saveAbilities_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeChangeCallback_onchange.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="method" element_name="saveAbilities" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayModeChangeCallback" element_type="method" element_name="onchange" 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 MediaControllerAbilitiesInfo object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerAbilitiesInfo_extend">
+ <testcase purpose="Check if interface MediaControllerDisplayModeChangeRequestCallback exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayModeChangeRequestCallback_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeChangeRequestCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilitiesInfo" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayModeChangeRequestCallback" 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 interface MediaControllerAbilitiesInfo exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerAbilitiesInfo_notexist">
+ <testcase purpose="Check if MediaControllerDisplayModeChangeRequestCallback onreply is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayModeChangeRequestCallback_onreply">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeChangeRequestCallback_onreply.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilitiesInfo" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayModeChangeRequestCallback" element_type="method" element_name="onreply" 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 playback of MediaControllerAbilitiesInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_playback_attribute">
+ <testcase purpose="Check if attribute displayMode of MediaControllerServer exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_displayMode_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_playback_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_displayMode_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="attribute" element_name="playback" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="attribute" element_name="displayMode" 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 clientCustom of MediaControllerAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_clientCustom_attribute">
+ <testcase purpose="Check if attribute displayMode of MediaControllerServerInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_displayMode_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_clientCustom_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_displayMode_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="attribute" element_name="clientCustom" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="attribute" element_name="displayMode" 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 playbackPosition of MediaControllerAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_playbackPosition_attribute">
+ <testcase purpose="Check if MediaControllerDisplayMode object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayMode_extend">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_playbackPosition_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="attribute" element_name="playbackPosition" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayMode" 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 playlist of MediaControllerAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_playlist_attribute">
+ <testcase purpose="Check if interface MediaControllerDisplayMode exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayMode_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_playlist_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="attribute" element_name="playlist" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayMode" 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 repeat of MediaControllerAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_repeat_attribute">
+ <testcase purpose="Check if attribute type of MediaControllerDisplayMode exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayMode_type_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_repeat_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_type_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="attribute" element_name="repeat" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayMode" element_type="attribute" element_name="type" 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 search of MediaControllerAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_search_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayMode_addChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayMode addChangeRequestListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_search_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_addChangeRequestListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="attribute" element_name="search" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addChangeRequestListener" 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 shuffle of MediaControllerAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_shuffle_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayMode_addChangeRequestListener_exist" priority="P0" purpose="check if addChangeRequestListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_shuffle_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_addChangeRequestListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="attribute" element_name="shuffle" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addChangeRequestListener" 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 subscribe method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_subscribe">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayMode_addChangeRequestListener_listener_TypeMismatch" priority="P2" purpose="Check if addChangeRequestListener throws exception when listener is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_subscribe.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_addChangeRequestListener_listener_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="method" element_name="subscribe" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addChangeRequestListener" 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 subscribe exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerAbilitiesInfo_subscribe_exist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayMode_addChangeRequestListener_listener_invalid" priority="P2" purpose="Check if addChangeRequestListener throws exception when listener is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_subscribe_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_addChangeRequestListener_listener_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="method" element_name="subscribe" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addChangeRequestListener" 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 using MediaControllerAbilitiesInfo::subscribe() method with extra argument" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilitiesInfo_subscribe_extra_argument">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayMode_addChangeRequestListener_misarg" priority="P2" purpose="Check if addChangeRequestListener method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_subscribe_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_addChangeRequestListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="method" element_name="subscribe" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addChangeRequestListener" 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 subscribe method throws exception when addAbilityChangeListener is not set" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilitiesInfo_subscribe_invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayMode_removeChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayMode removeChangeRequestListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_subscribe_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_removeChangeRequestListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="method" element_name="subscribe" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeChangeRequestListener" 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 unsubscribe method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_unsubscribe">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayMode_removeChangeRequestListener_exist" priority="P0" purpose="check if removeChangeRequestListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_unsubscribe.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_removeChangeRequestListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="method" element_name="unsubscribe" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeChangeRequestListener" 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 unsubscribe exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerAbilitiesInfo_unsubscribe_exist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayMode_removeChangeRequestListener_misarg" priority="P2" purpose="Check if removeChangeRequestListener method called with missing non-optional argument does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_unsubscribe_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_removeChangeRequestListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="method" element_name="unsubscribe" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeChangeRequestListener" 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 using MediaControllerAbilitiesInfo::unsubscribe() method with extra argument" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilitiesInfo_unsubscribe_extra_argument">
+ <testcase purpose="Check if MediaControllerDisplayModeInfo object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayModeInfo_extend">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_unsubscribe_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="method" element_name="unsubscribe" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayModeInfo" 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 MediaControllerPlaybackAbilitiesInfo object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerPlaybackAbilitiesInfo_extend">
+ <testcase purpose="Check if interface MediaControllerDisplayModeInfo exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayModeInfo_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilitiesInfo" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayModeInfo" 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 interface MediaControllerPlaybackAbilitiesInfo exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerPlaybackAbilitiesInfo_notexist">
+ <testcase purpose="Check if attribute type of MediaControllerDisplayModeInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayModeInfo_type_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_type_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilitiesInfo" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayModeInfo" element_type="attribute" element_name="type" 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 play of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilitiesInfo_play_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayModeInfo_addModeChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayModeInfo addModeChangeListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_play_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_addModeChangeListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilitiesInfo" element_type="attribute" element_name="play" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addModeChangeListener" 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 forward of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilitiesInfo_forward_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayModeInfo_addModeChangeListener_exist" priority="P0" purpose="check if addModeChangeListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_forward_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_addModeChangeListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilitiesInfo" element_type="attribute" element_name="forward" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addModeChangeListener" 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 next of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilitiesInfo_next_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayModeInfo_addModeChangeListener_listener_TypeMismatch" priority="P2" purpose="Check if addModeChangeListener throws exception when listener is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_next_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_addModeChangeListener_listener_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilitiesInfo" element_type="attribute" element_name="next" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addModeChangeListener" 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 pause of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilitiesInfo_pause_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayModeInfo_addModeChangeListener_listener_invalid" priority="P2" purpose="Check if addModeChangeListener throws exception when listener is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_pause_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_addModeChangeListener_listener_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilitiesInfo" element_type="attribute" element_name="pause" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addModeChangeListener" 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 prev of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilitiesInfo_prev_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayModeInfo_addModeChangeListener_misarg" priority="P2" purpose="Check if addModeChangeListener method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_prev_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_addModeChangeListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilitiesInfo" element_type="attribute" element_name="prev" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addModeChangeListener" 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 rewind of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilitiesInfo_rewind_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayModeInfo_removeModeChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayModeInfo removeModeChangeListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_rewind_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_removeModeChangeListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilitiesInfo" element_type="attribute" element_name="rewind" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeModeChangeListener" 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 stop of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilitiesInfo_stop_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayModeInfo_removeModeChangeListener_exist" priority="P0" purpose="check if removeModeChangeListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_stop_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_removeModeChangeListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilitiesInfo" element_type="attribute" element_name="stop" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeModeChangeListener" 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 togglePlayPause of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackAbilitiesInfo_togglePlayPause_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayModeInfo_removeModeChangeListener_misarg" priority="P2" purpose="Check if removeModeChangeListener method called with missing non-optional argument does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_togglePlayPause_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_removeModeChangeListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilitiesInfo" element_type="attribute" element_name="togglePlayPause" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeModeChangeListener" 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 interface MediaControllerAbilityChangeCallback exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerAbilityChangeCallback_notexist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayModeInfo_sendRequest" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayModeInfo sendRequest method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilityChangeCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_sendRequest.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilityChangeCallback" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendRequest" 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 MediaControllerAbilityChangeCallback onplaybackabilitychanged is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilityChangeCallback_onplaybackabilitychanged">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayModeInfo_sendRequest_exist" priority="P0" purpose="check if sendRequest exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilityChangeCallback_onplaybackabilitychanged.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_sendRequest_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilityChangeCallback" element_type="method" element_name="onplaybackabilitychanged" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendRequest" 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 MediaControllerAbilityChangeCallback onsimpleabilitychanged is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilityChangeCallback_onsimpleabilitychanged">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayModeInfo_sendRequest_replyCallback_TypeMismatch" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilityChangeCallback_onsimpleabilitychanged.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_sendRequest_replyCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilityChangeCallback" element_type="method" element_name="onsimpleabilitychanged" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendRequest" 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 argument clientCustom conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_clientCustom_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayModeInfo_sendRequest_replyCallback_invalid_cb" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_clientCustom_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_sendRequest_replyCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="clientCustom" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendRequest" 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 MediaControllerAbilities throws exception with invalid clientCustom value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_clientCustom_invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayModeInfo_sendRequest_misarg" priority="P2" purpose="Check if sendRequest method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_clientCustom_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_sendRequest_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="clientCustom" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendRequest" 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 argument playbackPosition conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_playbackPosition_TypeMismatch">
+ <testcase purpose="Check if interface MediaControllerDisplayRotationChangeCallback exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayRotationChangeCallback_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playbackPosition_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationChangeCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="playbackPosition" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationChangeCallback" 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 MediaControllerAbilities throws exception with invalid playbackPosition value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_playbackPosition_invalid">
+ <testcase purpose="Check if MediaControllerDisplayRotationChangeCallback onchange is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotationChangeCallback_onchange">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playbackPosition_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationChangeCallback_onchange.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="playbackPosition" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationChangeCallback" element_type="method" element_name="onchange" 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 playlist conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_playlist_TypeMismatch">
+ <testcase purpose="Check if interface MediaControllerDisplayRotationChangeRequestCallback exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayRotationChangeRequestCallback_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playlist_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationChangeRequestCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="playlist" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationChangeRequestCallback" 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 MediaControllerAbilities throws exception with invalid playlist value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_playlist_invalid">
+ <testcase purpose="Check if MediaControllerDisplayRotationChangeRequestCallback onreply is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotationRequestChangeCallback_onreply">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playlist_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationChangeRequestCallback_onreply.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="playlist" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationChangeRequestCallback" element_type="method" element_name="onreply" 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 repeat conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_repeat_TypeMismatch">
+ <testcase purpose="Check if attribute displayRotation of MediaControllerServer exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_displayRotation_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_repeat_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_displayRotation_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="repeat" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="attribute" element_name="displayRotation" 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 MediaControllerAbilities throws exception with invalid repeat value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_repeat_invalid">
+ <testcase purpose="Check if attribute displayRotation of MediaControllerServerInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_displayRotation_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_repeat_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_displayRotation_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="repeat" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="attribute" element_name="displayRotation" 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 search conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_search_TypeMismatch">
+ <testcase purpose="Check if MediaControllerDisplayRotation object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayRotation_extend">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_search_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="search" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotation" 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 MediaControllerAbilities throws exception with invalid search value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_search_invalid">
+ <testcase purpose="Check if interface MediaControllerDisplayRotation exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayRotation_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_search_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="search" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotation" 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 argument shuffle conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_shuffle_TypeMismatch">
+ <testcase purpose="Check if attribute displayRotation of MediaControllerDisplayRotation exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotation_displayRotation_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_shuffle_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_displayRotation_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="shuffle" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotation" element_type="attribute" element_name="displayRotation" 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 MediaControllerAbilities throws exception with invalid shuffle value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_shuffle_invalid">
+ <testcase purpose="Check argument displayRotation conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayRotation_displayRotation_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_shuffle_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_displayRotation_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="shuffle" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotation" element_type="attribute" element_name="displayRotation" 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 forward conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_forward_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayRotation_addChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayRotation addChangeRequestListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_forward_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_addChangeRequestListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="forward" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addChangeRequestListener" 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 MediaControllerPlaybackAbilities throws exception with invalid forward value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_forward_invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayRotation_addChangeRequestListener_exist" priority="P0" purpose="check if addChangeRequestListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_forward_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_addChangeRequestListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="forward" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addChangeRequestListener" 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 argument next conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_next_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayRotation_addChangeRequestListener_listener_TypeMismatch" priority="P2" purpose="Check if addChangeRequestListener throws exception when listener is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_next_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_addChangeRequestListener_listener_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="next" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addChangeRequestListener" 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 MediaControllerPlaybackAbilities throws exception with invalid next value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_next_invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayRotation_addChangeRequestListener_listener_invalid" priority="P2" purpose="Check if addChangeRequestListener throws exception when listener is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_next_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_addChangeRequestListener_listener_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="next" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addChangeRequestListener" 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 argument pause conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_pause_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayRotation_addChangeRequestListener_misarg" priority="P2" purpose="Check if addChangeRequestListener method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_pause_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_addChangeRequestListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="pause" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addChangeRequestListener" 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 MediaControllerPlaybackAbilities throws exception with invalid pause value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_pause_invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayRotation_removeChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayRotation removeChangeRequestListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_pause_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_removeChangeRequestListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="pause" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeChangeRequestListener" 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 argument play conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_play_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayRotation_removeChangeRequestListener_exist" priority="P0" purpose="check if removeChangeRequestListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_play_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_removeChangeRequestListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="play" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeChangeRequestListener" 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 MediaControllerPlaybackAbilities throws exception with invalid play value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_play_invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayRotation_removeChangeRequestListener_misarg" priority="P2" purpose="Check if removeChangeRequestListener method called with missing non-optional argument does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_play_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_removeChangeRequestListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="play" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeChangeRequestListener" 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 argument prev conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_prev_TypeMismatch">
+ <testcase purpose="Check if MediaControllerDisplayRotationInfo object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayRotationInfo_extend">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_prev_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="prev" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationInfo" 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 MediaControllerPlaybackAbilities throws exception with invalid prev value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_prev_invalid">
+ <testcase purpose="Check if interface MediaControllerDisplayRotationInfo exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayRotationInfo_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_prev_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="prev" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationInfo" 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 argument rewind conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_rewind_TypeMismatch">
+ <testcase purpose="Check if attribute displayRotation of MediaControllerDisplayRotationInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotationInfo_displayRotation_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_rewind_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_displayRotation_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="rewind" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationInfo" element_type="attribute" element_name="displayRotation" 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 MediaControllerPlaybackAbilities throws exception with invalid rewind value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_rewind_invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayRotationInfo addDisplayRotationChangeListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_rewind_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="rewind" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addDisplayRotationChangeListener" 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 argument stop conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_stop_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_exist" priority="P0" purpose="check if addDisplayRotationChangeListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_stop_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="stop" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addDisplayRotationChangeListener" 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 MediaControllerPlaybackAbilities throws exception with invalid stop value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_stop_invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_listener_TypeMismatch" priority="P2" purpose="Check if addDisplayRotationChangeListener throws exception when listener is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_stop_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_listener_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="stop" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addDisplayRotationChangeListener" 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 argument togglePlayPause conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_togglePlayPause_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_listener_invalid" priority="P2" purpose="Check if addDisplayRotationChangeListener throws exception when listener is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_togglePlayPause_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_listener_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="togglePlayPause" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addDisplayRotationChangeListener" 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 MediaControllerPlaybackAbilities throws exception with invalid togglePlayPause value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerPlaybackAbilities_togglePlayPause_invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_misarg" priority="P2" purpose="Check if addDisplayRotationChangeListener method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_togglePlayPause_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerPlaybackAbilities" element_type="attribute" element_name="togglePlayPause" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addDisplayRotationChangeListener" 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 mode360 of MediaControllerServer exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_mode360_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayRotationInfo removeDisplayRotationChangeListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_mode360_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="attribute" element_name="mode360" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeDisplayRotationChangeListener" 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 mode360 of MediaControllerServerInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_mode360_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener_exist" priority="P0" purpose="check if removeDisplayRotationChangeListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_mode360_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="attribute" element_name="mode360" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeDisplayRotationChangeListener" 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 mode360 of MediaControllerAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilities_mode360_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener_misarg" priority="P2" purpose="Check if removeDisplayRotationChangeListener method called with missing non-optional argument does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_mode360_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="mode360" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeDisplayRotationChangeListener" 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 argument mode360 conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_mode360_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayRotationInfo_sendRequest" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayRotationInfo sendRequest method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_mode360_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_sendRequest.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="mode360" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendRequest" 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 MediaControllerAbilities throws exception with invalid mode360 value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_mode360_invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayRotationInfo_sendRequest_exist" priority="P0" purpose="check if sendRequest exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_mode360_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_sendRequest_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="mode360" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendRequest" 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 mode360 of MediaControllerAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_mode360_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayRotationInfo_sendRequest_replyCallback_TypeMismatch" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_mode360_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_sendRequest_replyCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="attribute" element_name="mode360" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendRequest" 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 MediaControllerMode360 object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerMode360_extend">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayRotationInfo_sendRequest_replyCallback_invalid_cb" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_sendRequest_replyCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerMode360" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendRequest" 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 interface MediaControllerMode360 exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerMode360_notexist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayRotationInfo_sendRequest_misarg" priority="P2" purpose="Check if sendRequest method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_sendRequest_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerMode360" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendRequest" 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 enabled of MediaControllerMode360 exists, has type boolean" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerMode360_enabled_attribute">
+ <testcase purpose="Check if MediaControllerAbilityChangeCallback ondisplaymodeabilitychanged is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilityChangeCallback_ondisplaymodeabilitychanged">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_enabled_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilityChangeCallback_ondisplaymodeabilitychanged.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerMode360" element_type="attribute" element_name="enabled" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="ondisplaymodeabilitychanged" element_type="method" element_name="onplaybackabilitychanged" 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="MediaControllerMode360_addChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerMode360 addChangeRequestListener method works properly">
+ <testcase purpose="Check if attribute displayMode of MediaControllerAbilities exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilities_displayMode_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_addChangeRequestListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_displayMode_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="displayMode" 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="MediaControllerMode360_addChangeRequestListener_exist" priority="P0" purpose="check if addChangeRequestListener exists">
+ <testcase purpose="Check if attribute displayMode of MediaControllerAbilitiesInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_displayMode_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_addChangeRequestListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_displayMode_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="attribute" element_name="displayMode" 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="MediaControllerMode360_addChangeRequestListener_listener_TypeMismatch" priority="P2" purpose="Check if addChangeRequestListener throws exception when listener is incorrect">
+ <testcase purpose="Check if MediaControllerDisplayModeAbilities object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayModeAbilities_extend">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_addChangeRequestListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayModeAbilities" 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="MediaControllerMode360_addChangeRequestListener_listener_invalid" priority="P2" purpose="Check if addChangeRequestListener throws exception when listener is invalid">
+ <testcase purpose="Check if interface MediaControllerDisplayModeAbilities exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayModeAbilities_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_addChangeRequestListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayModeAbilities" 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="MediaControllerMode360_addChangeRequestListener_misarg" priority="P2" purpose="Check if addChangeRequestListener method called with missing non-optional argument throws an exception">
+ <testcase purpose="Check if attribute letterBox of MediaControllerDisplayModeAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayModeAbilities_letterBox_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_addChangeRequestListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_letterBox_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="letterBox" 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="MediaControllerMode360_removeChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerMode360 removeChangeRequestListener method works properly">
+ <testcase purpose="Check argument letterBox conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayModeAbilities_letterBox_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_removeChangeRequestListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_letterBox_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="letterBox" 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="MediaControllerMode360_removeChangeRequestListener_exist" priority="P0" purpose="check if removeChangeRequestListener exists">
+ <testcase purpose="Check MediaControllerDisplayModeAbilities throws exception with invalid letterBox value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayModeAbilities_letterBox_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_removeChangeRequestListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_letterBox_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="letterBox" 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 originSize of MediaControllerDisplayModeAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayModeAbilities_originSize_attribute">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_originSize_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="originSize" 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 originSize conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayModeAbilities_originSize_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_originSize_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="originSize" 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 MediaControllerDisplayModeAbilities throws exception with invalid originSize value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayModeAbilities_originSize_invalid">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_originSize_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="originSize" 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 fullScreen of MediaControllerDisplayModeAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayModeAbilities_fullScreen_attribute">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_fullScreen_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="fullScreen" 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 fullScreen conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayModeAbilities_fullScreen_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_fullScreen_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="fullScreen" 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 MediaControllerDisplayModeAbilities throws exception with invalid fullScreen value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayModeAbilities_fullScreen_invalid">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_fullScreen_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="fullScreen" 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 croppedFull of MediaControllerDisplayModeAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayModeAbilities_croppedFull_attribute">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_croppedFull_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="croppedFull" 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="MediaControllerMode360_removeChangeRequestListener_misarg" priority="P2" purpose="Check if removeChangeRequestListener method called with missing non-optional argument does not throw any exception">
+ <testcase purpose="Check argument croppedFull conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayModeAbilities_croppedFull_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_removeChangeRequestListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_croppedFull_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="croppedFull" 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 MediaControllerMode360Info object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerMode360Info_extend">
+ <testcase purpose="Check MediaControllerDisplayModeAbilities throws exception with invalid croppedFull value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayModeAbilities_croppedFull_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_croppedFull_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerMode360Info" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="croppedFull" 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 interface MediaControllerMode360Info exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerMode360Info_notexist">
+ <testcase purpose="Check if MediaControllerDisplayModeAbilitiesInfo object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayModeAbilitiesInfo_extend">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilitiesInfo_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerMode360Info" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayModeAbilitiesInfo" 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 enabled of MediaControllerMode360Info exists, has type boolean and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerMode360Info_enabled_attribute">
+ <testcase purpose="Check if interface MediaControllerDisplayModeAbilitiesInfo exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayModeAbilitiesInfo_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_enabled_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilitiesInfo_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerMode360Info" element_type="attribute" element_name="enabled" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayModeAbilitiesInfo" 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="MediaControllerMode360Info_addModeChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerMode360Info addModeChangeListener method works properly">
+ <testcase purpose="Check if attribute letterBox of MediaControllerDisplayModeAbilities exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayModeAbilities_letterBox_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_addModeChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_letterBox_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="letterBox" 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="MediaControllerMode360Info_addModeChangeListener_exist" priority="P0" purpose="check if addModeChangeListener exists">
+ <testcase purpose="Check if attribute originSize of MediaControllerDisplayModeAbilities exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayModeAbilities_originSize_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_addModeChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_originSize_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="originSize" 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="MediaControllerMode360Info_addModeChangeListener_listener_TypeMismatch" priority="P2" purpose="Check if addModeChangeListener throws exception when listener is incorrect">
+ <testcase purpose="Check if attribute fullScreen of MediaControllerDisplayModeAbilities exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayModeAbilities_fullScreen_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_addModeChangeListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_fullScreen_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="fullScreen" 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="MediaControllerMode360Info_addModeChangeListener_listener_invalid" priority="P2" purpose="Check if addModeChangeListener throws exception when listener is invalid">
+ <testcase purpose="Check if attribute croppedFull of MediaControllerDisplayModeAbilities exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayModeAbilities_croppedFull_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_addModeChangeListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_croppedFull_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="croppedFull" 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="MediaControllerMode360Info_addModeChangeListener_misarg" priority="P2" purpose="Check if addModeChangeListener method called with missing non-optional argument throws an exception">
+ <testcase purpose="Check if MediaControllerAbilityChangeCallback ondisplayrotationabilitychanged is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilityChangeCallback_ondisplayrotationabilitychanged">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_addModeChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilityChangeCallback_ondisplayrotationabilitychanged.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="ondisplayrotationabilitychanged" element_type="method" element_name="onplaybackabilitychanged" 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="MediaControllerMode360Info_removeModeChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerMode360Info removeModeChangeListener method works properly">
+ <testcase purpose="Check if attribute displayRotation of MediaControllerAbilities exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilities_displayRotation_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_removeModeChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_displayRotation_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="displayRotation" 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="MediaControllerMode360Info_removeModeChangeListener_exist" priority="P0" purpose="check if removeModeChangeListener exists">
+ <testcase purpose="Check if attribute displayRotation of MediaControllerAbilitiesInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_displayRotation_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_removeModeChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_displayRotation_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="attribute" element_name="displayRotation" 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="MediaControllerMode360Info_removeModeChangeListener_misarg" priority="P2" purpose="Check if removeModeChangeListener method called with missing non-optional argument does not throw any exception">
+ <testcase purpose="Check if MediaControllerDisplayRotationAbilities object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayRotationAbilities_extend">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_removeModeChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationAbilities" 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="MediaControllerMode360Info_sendRequest" onload_delay="30" priority="P1" purpose="Check if MediaControllerMode360Info sendRequest method works properly">
+ <testcase purpose="Check if interface MediaControllerDisplayRotationAbilities exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayRotationAbilities_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_sendRequest.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendRequest" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationAbilities" 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="MediaControllerMode360Info_sendRequest_exist" priority="P0" purpose="check if sendRequest exists">
+ <testcase purpose="Check if attribute rotationNone of MediaControllerDisplayRotationAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotationAbilities_rotationNone_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_sendRequest_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotationNone_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendRequest" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotationNone" 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="MediaControllerMode360Info_sendRequest_replyCallback_TypeMismatch" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is incorrect">
+ <testcase purpose="Check argument rotationNone conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayRotationAbilities_rotationNone_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_sendRequest_replyCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotationNone_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendRequest" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotationNone" 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="MediaControllerMode360Info_sendRequest_replyCallback_invalid_cb" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is invalid">
+ <testcase purpose="Check MediaControllerDisplayRotationAbilities throws exception with invalid rotationNone value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayRotationAbilities_rotationNone_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_sendRequest_replyCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotationNone_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendRequest" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotationNone" 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="MediaControllerMode360Info_sendRequest_misarg" priority="P2" purpose="Check if sendRequest method called with missing non-optional argument throws an exception">
+ <testcase purpose="Check if attribute rotation90 of MediaControllerDisplayRotationAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotationAbilities_rotation90_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_sendRequest_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation90_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendRequest" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotation90" 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 interface MediaControllerEnabledChangeCallback exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerEnabledChangeCallback_notexist">
+ <testcase purpose="Check argument rotation90 conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayRotationAbilities_rotation90_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerEnabledChangeCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation90_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerEnabledChangeCallback" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotation90" 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 MediaControllerEnabledChangeCallback onchange is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerEnabledChangeCallback_onchange">
+ <testcase purpose="Check MediaControllerDisplayRotationAbilities throws exception with invalid rotation90 value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayRotationAbilities_rotation90_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerEnabledChangeCallback_onchange.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation90_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerEnabledChangeCallback" element_type="method" element_name="onchange" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotation90" 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 interface MediaControllerMode360ChangeCallback exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerMode360ChangeCallback_notexist">
+ <testcase purpose="Check if attribute rotation180 of MediaControllerDisplayRotationAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotationAbilities_rotation180_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360ChangeCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation180_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerMode360ChangeCallback" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotation180" 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 MediaControllerMode360ChangeCallback onreply is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerMode360ChangeCallback_onreply">
+ <testcase purpose="Check argument rotation180 conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayRotationAbilities_rotation180_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360ChangeCallback_onreply.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation180_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerMode360ChangeCallback" element_type="method" element_name="onreply" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotation180" 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 subtitles of MediaControllerServer exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_subtitles_attribute">
+ <testcase purpose="Check MediaControllerDisplayRotationAbilities throws exception with invalid rotation180 value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayRotationAbilities_rotation180_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_subtitles_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation180_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="attribute" element_name="subtitles" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotation180" 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 subtitles of MediaControllerServerInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_subtitles_attribute">
+ <testcase purpose="Check if attribute rotation270 of MediaControllerDisplayRotationAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotationAbilities_rotation270_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_subtitles_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation270_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="attribute" element_name="subtitles" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotation270" 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 subtitles of MediaControllerAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilities_subtitles_attribute">
+ <testcase purpose="Check argument rotation270 conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayRotationAbilities_rotation270_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_subtitles_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation270_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="subtitles" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotation270" 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 subtitles conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_subtitles_TypeMismatch">
+ <testcase purpose="Check MediaControllerDisplayRotationAbilities throws exception with invalid rotation270 value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayRotationAbilities_rotation270_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_subtitles_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation270_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="subtitles" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotation270" 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 MediaControllerAbilities throws exception with invalid subtitles value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerAbilities_subtitles_invalid">
+ <testcase purpose="Check if MediaControllerDisplayRotationAbilitiesInfo object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayRotationAbilitiesInfo_extend">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_subtitles_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilitiesInfo_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="subtitles" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationAbilitiesInfo" 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 subtitles of MediaControllerAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_subtitles_attribute">
+ <testcase purpose="Check if interface MediaControllerDisplayRotationAbilitiesInfo exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayRotationAbilitiesInfo_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_subtitles_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilitiesInfo_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="attribute" element_name="subtitles" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationAbilitiesInfo" 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 MediaControllerSubtitles object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerSubtitles_extend">
+ <testcase purpose="Check if attribute rotationNone of MediaControllerDisplayRotationAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotationAbilitiesInfo_rotationNone_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilitiesInfo_rotationNone_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerSubtitles" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationAbilitiesInfo" element_type="attribute" element_name="rotationNone" 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 interface MediaControllerSubtitles exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerSubtitles_notexist">
+ <testcase purpose="Check if attribute rotation90 of MediaControllerDisplayRotationAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotationAbilitiesInfo_rotation90_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilitiesInfo_rotation90_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerSubtitles" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationAbilitiesInfo" element_type="attribute" element_name="rotation90" 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 enabled of MediaControllerSubtitles exists, has type boolean" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerSubtitles_enabled_attribute">
+ <testcase purpose="Check if attribute rotation180 of MediaControllerDisplayRotationAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotationAbilitiesInfo_rotation180_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_enabled_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilitiesInfo_rotation180_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerSubtitles" element_type="attribute" element_name="enabled" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationAbilitiesInfo" element_type="attribute" element_name="rotation180" 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="MediaControllerSubtitles_addChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerSubtitles addChangeRequestListener method works properly">
+ <testcase purpose="Check if attribute rotation270 of MediaControllerDisplayRotationAbilitiesInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotationAbilitiesInfo_rotation270_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_addChangeRequestListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilitiesInfo_rotation270_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerDisplayRotationAbilitiesInfo" element_type="attribute" element_name="rotation270" 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="MediaControllerSubtitles_addChangeRequestListener_exist" priority="P0" purpose="check if addChangeRequestListener exists">
+ <testcase purpose="Check if attribute seasonNumber of MediaControllerMetadata exists, has type long" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerMetadata_seasonNumber_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_addChangeRequestListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_seasonNumber_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerMetadata" element_type="attribute" element_name="seasonNumber" 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="MediaControllerSubtitles_addChangeRequestListener_listener_TypeMismatch" priority="P2" purpose="Check if addChangeRequestListener throws exception when listener is incorrect">
+ <testcase purpose="Check if attribute seasonTitle of MediaControllerMetadata exists, has type DOMString" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerMetadata_seasonTitle_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_addChangeRequestListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_seasonTitle_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerMetadata" element_type="attribute" element_name="seasonTitle" 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="MediaControllerSubtitles_addChangeRequestListener_listener_invalid" priority="P2" purpose="Check if addChangeRequestListener throws exception when listener is invalid">
+ <testcase purpose="Check if attribute episodeNumber of MediaControllerMetadata exists, has type long" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerMetadata_episodeNumber_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_addChangeRequestListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_episodeNumber_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerMetadata" element_type="attribute" element_name="episodeNumber" 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="MediaControllerSubtitles_addChangeRequestListener_misarg" priority="P2" purpose="Check if addChangeRequestListener method called with missing non-optional argument throws an exception">
+ <testcase purpose="Check if attribute episodeTitle of MediaControllerMetadata exists, has type DOMString" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerMetadata_episodeTitle_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_addChangeRequestListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_episodeTitle_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerMetadata" element_type="attribute" element_name="episodeTitle" 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="MediaControllerSubtitles_removeChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerSubtitles removeChangeRequestListener method works properly">
+ <testcase purpose="Check if attribute resolutionWidth of MediaControllerMetadata exists, has type long" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerMetadata_resolutionWidth_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_removeChangeRequestListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_resolutionWidth_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerMetadata" element_type="attribute" element_name="resolutionWidth" 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="MediaControllerSubtitles_removeChangeRequestListener_exist" priority="P0" purpose="check if removeChangeRequestListener exists">
+ <testcase purpose="Check if attribute resolutionHeight of MediaControllerMetadata exists, has type long" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerMetadata_resolutionHeight_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_removeChangeRequestListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_resolutionHeight_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerMetadata" 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 component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitles_removeChangeRequestListener_misarg" priority="P2" purpose="Check if removeChangeRequestListener method called with missing non-optional argument does not throw any exception">
+ <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/MediaControllerSubtitles_removeChangeRequestListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <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 MediaControllerSubtitlesInfo object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerSubtitlesInfo_extend">
+ <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/MediaControllerSubtitlesInfo_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerSubtitlesInfo" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <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 interface MediaControllerSubtitlesInfo exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerSubtitlesInfo_notexist">
+ <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/MediaControllerSubtitlesInfo_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo_extra_argument.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerSubtitlesInfo" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <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 attribute enabled of MediaControllerSubtitlesInfo exists, has type boolean and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerSubtitlesInfo_enabled_attribute">
+ <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/MediaControllerSubtitlesInfo_enabled_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerSubtitlesInfo" element_type="attribute" element_name="enabled" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <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="MediaControllerSubtitlesInfo_addModeChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerSubtitlesInfo addModeChangeListener method works properly">
+ <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/MediaControllerSubtitlesInfo_addModeChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <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="MediaControllerSubtitlesInfo_addModeChangeListener_exist" priority="P0" purpose="check if addModeChangeListener exists">
+ <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/MediaControllerSubtitlesInfo_addModeChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_name_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <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 component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_addModeChangeListener_listener_TypeMismatch" priority="P2" purpose="Check if addModeChangeListener throws exception when listener is incorrect">
+ <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/MediaControllerSubtitlesInfo_addModeChangeListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <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 component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_addModeChangeListener_listener_invalid" priority="P2" purpose="Check if addModeChangeListener throws exception when listener is invalid">
+ <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/MediaControllerSubtitlesInfo_addModeChangeListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_data_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <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 component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_addModeChangeListener_misarg" priority="P2" purpose="Check if addModeChangeListener method called with missing non-optional argument throws an exception">
+ <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/MediaControllerSubtitlesInfo_addModeChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <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 component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_removeModeChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerSubtitlesInfo removeModeChangeListener method works properly">
+ <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/MediaControllerSubtitlesInfo_removeModeChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <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 component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_removeModeChangeListener_exist" priority="P0" purpose="check if removeModeChangeListener exists">
+ <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/MediaControllerSubtitlesInfo_removeModeChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_successCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <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 component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_removeModeChangeListener_misarg" priority="P2" purpose="Check if removeModeChangeListener method called with missing non-optional argument does not throw any exception">
+ <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/MediaControllerSubtitlesInfo_removeModeChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_successCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <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 component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_sendRequest" onload_delay="30" priority="P1" purpose="Check if MediaControllerSubtitlesInfo sendRequest method works properly">
+ <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/MediaControllerSubtitlesInfo_sendRequest.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendRequest" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <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 component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_sendRequest_exist" priority="P0" purpose="check if sendRequest exists">
+ <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/MediaControllerSubtitlesInfo_sendRequest_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendRequest" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <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 component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_sendRequest_replyCallback_TypeMismatch" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is incorrect">
+ <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/MediaControllerSubtitlesInfo_sendRequest_replyCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_listener_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendRequest" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <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 component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_sendRequest_replyCallback_invalid_cb" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is invalid">
+ <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/MediaControllerSubtitlesInfo_sendRequest_replyCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_listener_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendRequest" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <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 component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerSubtitlesInfo_sendRequest_misarg" priority="P2" purpose="Check if sendRequest method called with missing non-optional argument throws an exception">
+ <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/MediaControllerSubtitlesInfo_sendRequest_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendRequest" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <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 interface MediaControllerDisplayModeChangeCallback exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayModeChangeCallback_notexist">
+ <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/MediaControllerDisplayModeChangeCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeChangeCallback" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <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 MediaControllerDisplayModeChangeCallback onchange is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayModeChangeCallback_onchange">
+ <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/MediaControllerDisplayModeChangeCallback_onchange.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeChangeCallback" element_type="method" element_name="onchange" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <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 interface MediaControllerDisplayModeChangeRequestCallback exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayModeChangeRequestCallback_notexist">
+ <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/MediaControllerDisplayModeChangeRequestCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener_extra_argument.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeChangeRequestCallback" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <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 MediaControllerDisplayModeChangeRequestCallback onreply is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayModeChangeRequestCallback_onreply">
+ <testcase purpose="Check if getPlaylist exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_getPlaylist_exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeChangeRequestCallback_onreply.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getPlaylist_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeChangeRequestCallback" element_type="method" element_name="onreply" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="getPlaylist" 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 displayMode of MediaControllerServer exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_displayMode_attribute">
+ <testcase purpose="Check if MediaControllerServer getPlaylist method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_getPlaylist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_displayMode_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getPlaylist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="attribute" element_name="displayMode" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="getPlaylist" 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 displayMode of MediaControllerServerInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_displayMode_attribute">
+ <testcase purpose="Check if MediaControllerServer getPlaylist throws exception when playlist is not found" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_getPlaylist_NotFoundError">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_displayMode_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getPlaylist_NotFoundError.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="attribute" element_name="displayMode" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="getPlaylist" 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 MediaControllerDisplayMode object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayMode_extend">
+ <testcase purpose="Check if getPlaylist exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_getPlaylist_exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_getPlaylist_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayMode" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="getPlaylist" 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 interface MediaControllerDisplayMode exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayMode_notexist">
+ <testcase purpose="Check if MediaControllerServerInfo getPlaylist method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_getPlaylist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_getPlaylist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayMode" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="getPlaylist" 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 type of MediaControllerDisplayMode exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayMode_type_attribute">
+ <testcase purpose="Check if MediaControllerServerInfo getPlaylist throws exception when playlist is not found" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_getPlaylist_NotFoundError">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_type_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_getPlaylist_NotFoundError.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayMode" element_type="attribute" element_name="type" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="getPlaylist" 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="MediaControllerDisplayMode_addChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayMode addChangeRequestListener method works properly">
+ <testcase purpose="Check if MediaControllerChangeRequestPlaybackInfoCallback onplaybackactionrequest is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerChangeRequestPlaybackInfoCallback_onplaybackactionrequest">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_addChangeRequestListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_onplaybackactionrequest.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerChangeRequestPlaybackInfoCallback" element_type="method" element_name="onplaybackpositionrequest" 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="MediaControllerDisplayMode_addChangeRequestListener_exist" priority="P0" purpose="check if addChangeRequestListener exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServerPlaybackInfo_addChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerPlaybackInfo addChangeRequestListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_addChangeRequestListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_addChangeRequestListener.html</test_script_entry>
</description>
<specs>
<spec>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayMode_addChangeRequestListener_listener_TypeMismatch" priority="P2" purpose="Check if addChangeRequestListener throws exception when listener is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServerPlaybackInfo_addChangeRequestListener_exist" priority="P0" purpose="check if addChangeRequestListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_addChangeRequestListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_addChangeRequestListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayMode_addChangeRequestListener_listener_invalid" priority="P2" purpose="Check if addChangeRequestListener throws exception when listener is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServerPlaybackInfo_addChangeRequestListener_listener_TypeMismatch" priority="P2" purpose="Check if addChangeRequestListener throws exception when listener is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_addChangeRequestListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_addChangeRequestListener_listener_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayMode_addChangeRequestListener_misarg" priority="P2" purpose="Check if addChangeRequestListener 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="MediaControllerServerPlaybackInfo_addChangeRequestListener_listener_invalid" priority="P2" purpose="Check if addChangeRequestListener throws exception when listener is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_addChangeRequestListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_addChangeRequestListener_listener_invalid.html</test_script_entry>
</description>
<specs>
<spec>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayMode_removeChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayMode removeChangeRequestListener method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServerPlaybackInfo_addChangeRequestListener_misarg" priority="P2" purpose="Check if addChangeRequestListener method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_removeChangeRequestListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_addChangeRequestListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addChangeRequestListener" 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="MediaControllerDisplayMode_removeChangeRequestListener_exist" priority="P0" purpose="check if removeChangeRequestListener exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServerPlaybackInfo_removeChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerPlaybackInfo removeChangeRequestListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_removeChangeRequestListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_removeChangeRequestListener.html</test_script_entry>
</description>
<specs>
<spec>
</spec>
</specs>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerDisplayMode_removeChangeRequestListener_misarg" priority="P2" purpose="Check if removeChangeRequestListener 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="MediaControllerServerPlaybackInfo_removeChangeRequestListener_exist" priority="P0" purpose="check if removeChangeRequestListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_removeChangeRequestListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_removeChangeRequestListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if MediaControllerDisplayModeInfo object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayModeInfo_extend">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServerPlaybackInfo_removeChangeRequestListener_misarg" priority="P2" purpose="Check if removeChangeRequestListener method called with missing non-optional argument does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_removeChangeRequestListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeInfo" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removeChangeRequestListener" 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 interface MediaControllerDisplayModeInfo exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayModeInfo_notexist">
+ <testcase purpose="Check if MediaControllerServerInfoPlaybackInfo sendPlaybackPosition method without optional argument works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeInfo" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendPlaybackPosition" 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 type of MediaControllerDisplayModeInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayModeInfo_type_attribute">
+ <testcase purpose="Check if sendPlaybackPosition exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_type_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeInfo" element_type="attribute" element_name="type" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendPlaybackPosition" 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="MediaControllerDisplayModeInfo_addModeChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayModeInfo addModeChangeListener method works properly">
+ <testcase purpose="Check if sendPlaybackPosition method called with missing non-optional argument does NOT throw an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_misarg">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_addModeChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendPlaybackPosition" 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="MediaControllerDisplayModeInfo_addModeChangeListener_exist" priority="P0" purpose="check if addModeChangeListener exists">
+ <testcase purpose="Check if sendPlaybackPosition throws exception when replyCallback is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_replyCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_addModeChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_replyCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendPlaybackPosition" 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="MediaControllerDisplayModeInfo_addModeChangeListener_listener_TypeMismatch" priority="P2" purpose="Check if addModeChangeListener throws exception when listener is incorrect">
+ <testcase purpose="Check if sendPlaybackPosition throws exception when replyCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_replyCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_addModeChangeListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_replyCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendPlaybackPosition" 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="MediaControllerDisplayModeInfo_addModeChangeListener_listener_invalid" priority="P2" purpose="Check if addModeChangeListener throws exception when listener is invalid">
+ <testcase purpose="Check if MediaControllerServerInfoPlaybackInfo sendPlaybackPosition method with all optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_with_replyCallback">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_addModeChangeListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_with_replyCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendPlaybackPosition" 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="MediaControllerDisplayModeInfo_addModeChangeListener_misarg" priority="P2" purpose="Check if addModeChangeListener method called with missing non-optional argument throws an exception">
+ <testcase purpose="Check if MediaControllerServerInfoPlaybackInfo sendPlaybackAction method without optional argument works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackAction">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_addModeChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackAction.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendPlaybackAction" 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="MediaControllerDisplayModeInfo_removeModeChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayModeInfo removeModeChangeListener method works properly">
+ <testcase purpose="Check if sendPlaybackAction exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_removeModeChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendPlaybackAction" 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="MediaControllerDisplayModeInfo_removeModeChangeListener_exist" priority="P0" purpose="check if removeModeChangeListener exists">
+ <testcase purpose="Check if sendPlaybackAction 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="MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_misarg">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_removeModeChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendPlaybackAction" 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="MediaControllerDisplayModeInfo_removeModeChangeListener_misarg" priority="P2" purpose="Check if removeModeChangeListener method called with missing non-optional argument does not throw any exception">
+ <testcase purpose="Check if sendPlaybackAction throws exception when action is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_action_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_removeModeChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_action_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeModeChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendPlaybackAction" 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="MediaControllerDisplayModeInfo_sendRequest" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayModeInfo sendRequest method works properly">
+ <testcase purpose="Check if sendPlaybackAction throws exception when replyCallback is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_replyCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_sendRequest.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_replyCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendRequest" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendPlaybackAction" 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="MediaControllerDisplayModeInfo_sendRequest_exist" priority="P0" purpose="check if sendRequest exists">
+ <testcase purpose="Check if sendPlaybackAction throws exception when replyCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_replyCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_sendRequest_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_replyCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendRequest" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendPlaybackAction" 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="MediaControllerDisplayModeInfo_sendRequest_replyCallback_TypeMismatch" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is incorrect">
+ <testcase purpose="Check if MediaControllerServerInfoPlaybackInfo sendPlaybackAction method with all optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_with_replyCallback">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_sendRequest_replyCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_with_replyCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendRequest" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendPlaybackAction" 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="MediaControllerDisplayModeInfo_sendRequest_replyCallback_invalid_cb" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is invalid">
+ <testcase purpose="Check if sendRepeatState() works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfoPlaybackInfo_sendRepeatState">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_sendRequest_replyCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendRepeatState.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendRequest" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendRepeatState" 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="MediaControllerDisplayModeInfo_sendRequest_misarg" priority="P2" purpose="Check if sendRequest method called with missing non-optional argument throws an exception">
+ <testcase purpose="Check if method sendRepeatState of MediaControllerServerInfoPlaybackInfo exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfoPlaybackInfo_sendRepeatState_exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_sendRequest_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendRepeatState_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendRequest" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendRepeatState" 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 interface MediaControllerDisplayRotationChangeCallback exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayRotationChangeCallback_notexist">
+ <testcase purpose="Check argument state conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfoPlaybackInfo_sendRepeatState_state_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationChangeCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendRepeatState_state_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationChangeCallback" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendRepeatState" 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 MediaControllerDisplayRotationChangeCallback onchange is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotationChangeCallback_onchange">
+ <testcase purpose="Check argument replyCallback conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfoPlaybackInfo_sendRepeatState_replyCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationChangeCallback_onchange.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendRepeatState_replyCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationChangeCallback" element_type="method" element_name="onchange" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendRepeatState" 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 interface MediaControllerDisplayRotationChangeRequestCallback exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayRotationChangeRequestCallback_notexist">
+ <testcase purpose="Check if sendRepeatState throws exception when replyCallback is invalid" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfoPlaybackInfo_sendRepeatState_replyCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationChangeRequestCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendRepeatState_replyCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationChangeRequestCallback" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendRepeatState" 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 MediaControllerDisplayRotationChangeRequestCallback onreply is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotationRequestChangeCallback_onreply">
+ <testcase purpose="Check if MediaControllerServerInfoPlaybackInfo sendRepeatState method with all optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfoPlaybackInfo_sendRepeatState_with_replyCallback">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationChangeRequestCallback_onreply.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendRepeatState_with_replyCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationChangeRequestCallback" element_type="method" element_name="onreply" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendRepeatState" 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 displayRotation of MediaControllerServer exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_displayRotation_attribute">
+ <testcase purpose="Check if MediaControllerServerInfoPlaybackInfo sendShuffleMode method without optional argument works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfoPlaybackInfo_sendShuffleMode">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_displayRotation_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendShuffleMode.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServer" element_type="attribute" element_name="displayRotation" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendShuffleMode" 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 displayRotation of MediaControllerServerInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_displayRotation_attribute">
+ <testcase purpose="Check if sendShuffleMode exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfoPlaybackInfo_sendShuffleMode_exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_displayRotation_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendShuffleMode_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerServerInfo" element_type="attribute" element_name="displayRotation" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendShuffleMode" 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 MediaControllerDisplayRotation object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayRotation_extend">
+ <testcase purpose="Check if sendShuffleMode throws exception when replyCallback is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfoPlaybackInfo_sendShuffleMode_replyCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendShuffleMode_replyCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotation" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendShuffleMode" 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 interface MediaControllerDisplayRotation exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayRotation_notexist">
+ <testcase purpose="Check if sendShuffleMode throws exception when replyCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfoPlaybackInfo_sendShuffleMode_replyCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendShuffleMode_replyCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotation" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendShuffleMode" 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 displayRotation of MediaControllerDisplayRotation exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotation_displayRotation_attribute">
+ <testcase purpose="Check if MediaControllerServerInfoPlaybackInfo sendShuffleMode method with all optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfoPlaybackInfo_sendShuffleMode_with_replyCallback">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_displayRotation_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendShuffleMode_with_replyCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotation" element_type="attribute" element_name="displayRotation" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="sendShuffleMode" 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 displayRotation conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayRotation_displayRotation_TypeMismatch">
+ <testcase purpose="Check if MediaControllerServerInfoPlaybackInfo addPlaybackInfoChangeListener method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_displayRotation_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotation" element_type="attribute" element_name="displayRotation" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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="MediaControllerDisplayRotation_addChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayRotation addChangeRequestListener method works properly">
+ <testcase purpose="check if addPlaybackInfoChangeListener exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_addChangeRequestListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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="MediaControllerDisplayRotation_addChangeRequestListener_exist" priority="P0" purpose="check if addChangeRequestListener exists">
+ <testcase purpose="Check if addPlaybackInfoChangeListener throws exception when listener is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_listener_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_addChangeRequestListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_listener_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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="MediaControllerDisplayRotation_addChangeRequestListener_listener_TypeMismatch" priority="P2" purpose="Check if addChangeRequestListener throws exception when listener is incorrect">
+ <testcase purpose="Check if addPlaybackInfoChangeListener throws exception when listener is invalid" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_listener_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_addChangeRequestListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_listener_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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="MediaControllerDisplayRotation_addChangeRequestListener_listener_invalid" priority="P2" purpose="Check if addChangeRequestListener throws exception when listener is invalid">
+ <testcase purpose="Check if addPlaybackInfoChangeListener 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="MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_misarg">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_addChangeRequestListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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="MediaControllerDisplayRotation_addChangeRequestListener_misarg" priority="P2" purpose="Check if addChangeRequestListener method called with missing non-optional argument throws an exception">
+ <testcase purpose="Check if MediaControllerServerInfoPlaybackInfo removePlaybackInfoChangeListener method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_addChangeRequestListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="removePlaybackInfoChangeListener" 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="MediaControllerDisplayRotation_removeChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayRotation removeChangeRequestListener method works properly">
+ <testcase purpose="check if removePlaybackInfoChangeListener exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener_exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_removeChangeRequestListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="removePlaybackInfoChangeListener" 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="MediaControllerDisplayRotation_removeChangeRequestListener_exist" priority="P0" purpose="check if removeChangeRequestListener exists">
+ <testcase purpose="Check if removePlaybackInfoChangeListener method called with missing non-optional argument does not throw any exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener_misarg">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_removeChangeRequestListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="removePlaybackInfoChangeListener" 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="MediaControllerDisplayRotation_removeChangeRequestListener_misarg" priority="P2" purpose="Check if removeChangeRequestListener method called with missing non-optional argument does not throw any exception">
+ <testcase purpose="Check if removePlaybackInfoChangeListener method of MediaControllerServerInfoPlaybackInfo called with invalid value throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener_watchId_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_removeChangeRequestListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener_watchId_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeChangeRequestListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="method" element_name="removePlaybackInfoChangeListener" 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 MediaControllerDisplayRotationInfo object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayRotationInfo_extend">
+ <testcase purpose="Check if MediaControllerServerPlaybackInfo object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerServerPlaybackInfo_extend">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationInfo" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerPlaybackInfo" 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 interface MediaControllerDisplayRotationInfo exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayRotationInfo_notexist">
+ <testcase purpose="Check if interface MediaControllerServerPlaybackInfo exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerServerPlaybackInfo_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationInfo" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerPlaybackInfo" 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 displayRotation of MediaControllerDisplayRotationInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotationInfo_displayRotation_attribute">
+ <testcase purpose="Check if MediaControllerServerInfoPlaybackInfo object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerServerInfoPlaybackInfo_extend">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_displayRotation_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationInfo" element_type="attribute" element_name="displayRotation" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" 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="MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayRotationInfo addDisplayRotationChangeListener method works properly">
+ <testcase purpose="Check if interface MediaControllerServerInfoPlaybackInfo exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerServerInfoPlaybackInfo_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addDisplayRotationChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" 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="MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_exist" priority="P0" purpose="check if addDisplayRotationChangeListener exists">
+ <testcase purpose="Check if MediaControllerPlaylists object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerPlaylists_extend">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addDisplayRotationChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylists" 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="MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_listener_TypeMismatch" priority="P2" purpose="Check if addDisplayRotationChangeListener throws exception when listener is incorrect">
+ <testcase purpose="Check if interface MediaControllerPlaylists exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerPlaylists_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addDisplayRotationChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylists" 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="MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_listener_invalid" priority="P2" purpose="Check if addDisplayRotationChangeListener throws exception when listener is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_createPlaylist_exist" priority="P0" purpose="Check if createPlaylist exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_createPlaylist_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addDisplayRotationChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="createPlaylist" 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="MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_misarg" priority="P2" purpose="Check if addDisplayRotationChangeListener 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="MediaControllerPlaylists_createPlaylist" priority="P1" purpose="Check if MediaControllerPlaylists createPlaylist method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_createPlaylist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addDisplayRotationChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="createPlaylist" 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="MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayRotationInfo removeDisplayRotationChangeListener method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_createPlaylist_invalid" priority="P2" purpose="Check if createPlaylist thrown invalid exception when playlist name already exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_createPlaylist_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeDisplayRotationChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="createPlaylist" 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="MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener_exist" priority="P0" purpose="check if removeDisplayRotationChangeListener exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_savePlaylist" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylists savePlaylist method without optional argument works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_savePlaylist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeDisplayRotationChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="savePlaylist" 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="MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener_misarg" priority="P2" purpose="Check if removeDisplayRotationChangeListener 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="MediaControllerPlaylists_savePlaylist_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when errorCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_savePlaylist_errorCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeDisplayRotationChangeListener" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="savePlaylist" 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="MediaControllerDisplayRotationInfo_sendRequest" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayRotationInfo sendRequest method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_savePlaylist_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when errorCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_sendRequest.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_savePlaylist_errorCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendRequest" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="savePlaylist" 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="MediaControllerDisplayRotationInfo_sendRequest_exist" priority="P0" purpose="check if sendRequest exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_savePlaylist_exist" priority="P0" purpose="Check if savePlaylist exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_sendRequest_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_savePlaylist_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendRequest" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="savePlaylist" 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="MediaControllerDisplayRotationInfo_sendRequest_replyCallback_TypeMismatch" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_savePlaylist_misarg" priority="P2" purpose="Check if savePlaylist method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_sendRequest_replyCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_savePlaylist_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendRequest" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="savePlaylist" 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="MediaControllerDisplayRotationInfo_sendRequest_replyCallback_invalid_cb" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_savePlaylist_playlist_TypeMismatch" priority="P2" purpose="Check if savePlaylist throws exception when state is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_sendRequest_replyCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_savePlaylist_playlist_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendRequest" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="savePlaylist" 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="MediaControllerDisplayRotationInfo_sendRequest_misarg" priority="P2" purpose="Check if sendRequest 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="MediaControllerPlaylists_savePlaylist_successCallback_TypeMismatch" priority="P2" purpose="Check if savePlaylist throws exception when successCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_sendRequest_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_savePlaylist_successCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="sendRequest" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="savePlaylist" 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 MediaControllerAbilityChangeCallback ondisplaymodeabilitychanged is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilityChangeCallback_ondisplaymodeabilitychanged">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_savePlaylist_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when successCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilityChangeCallback_ondisplaymodeabilitychanged.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_savePlaylist_successCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="ondisplaymodeabilitychanged" element_type="method" element_name="onplaybackabilitychanged" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="savePlaylist" 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 displayMode of MediaControllerAbilities exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilities_displayMode_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_savePlaylist_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylists savePlaylist method with all optional arguments works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_displayMode_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_savePlaylist_with_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="displayMode" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="savePlaylist" 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 displayMode of MediaControllerAbilitiesInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_displayMode_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_savePlaylist_errorCallback_invoke" onload_delay="30" priority="P2" purpose="Check if errorCallback invoked when playlist with given name does not exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_displayMode_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_savePlaylist_errorCallback_invoke.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="attribute" element_name="displayMode" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="savePlaylist" 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 MediaControllerDisplayModeAbilities object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayModeAbilities_extend">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_deletePlaylist" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylists deletePlaylist method without optional argument works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_deletePlaylist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeAbilities" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="deletePlaylist" 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 interface MediaControllerDisplayModeAbilities exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayModeAbilities_notexist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_deletePlaylist_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when errorCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_deletePlaylist_errorCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeAbilities" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="deletePlaylist" 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 letterBox of MediaControllerDisplayModeAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayModeAbilities_letterBox_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_deletePlaylist_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when errorCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_letterBox_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_deletePlaylist_errorCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="letterBox" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="deletePlaylist" 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 argument letterBox conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayModeAbilities_letterBox_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_deletePlaylist_exist" priority="P0" purpose="Check if deletePlaylist exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_letterBox_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_deletePlaylist_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="letterBox" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="deletePlaylist" 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 MediaControllerDisplayModeAbilities throws exception with invalid letterBox value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayModeAbilities_letterBox_invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_deletePlaylist_successCallback_TypeMismatch" priority="P2" purpose="Check if deletePlaylist throws exception when successCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_letterBox_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_deletePlaylist_successCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="letterBox" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="deletePlaylist" 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 originSize of MediaControllerDisplayModeAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayModeAbilities_originSize_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_deletePlaylist_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when successCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_originSize_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_deletePlaylist_successCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="originSize" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="deletePlaylist" 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 argument originSize conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayModeAbilities_originSize_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_deletePlaylist_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylists deletePlaylist method with all optional arguments works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_originSize_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_deletePlaylist_with_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="originSize" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="deletePlaylist" 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 MediaControllerDisplayModeAbilities throws exception with invalid originSize value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayModeAbilities_originSize_invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_deletePlaylist_errorCallback_invoke" onload_delay="30" priority="P2" purpose="Check if errorCallback invoked when playlist with given name does not exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_originSize_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_deletePlaylist_errorCallback_invoke.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="originSize" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="deletePlaylist" 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 fullScreen of MediaControllerDisplayModeAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayModeAbilities_fullScreen_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_getAllPlaylists" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylists getAllPlaylists method without optional argument works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_fullScreen_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_getAllPlaylists.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="fullScreen" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="getAllPlaylists" 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 argument fullScreen conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayModeAbilities_fullScreen_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_getAllPlaylists_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_fullScreen_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_getAllPlaylists_errorCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="fullScreen" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="getAllPlaylists" 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 MediaControllerDisplayModeAbilities throws exception with invalid fullScreen value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayModeAbilities_fullScreen_invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_getAllPlaylists_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_fullScreen_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_getAllPlaylists_errorCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="fullScreen" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="getAllPlaylists" 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 croppedFull of MediaControllerDisplayModeAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayModeAbilities_croppedFull_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_getAllPlaylists_exist" priority="P0" purpose="Check if getAllPlaylists exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_croppedFull_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_getAllPlaylists_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="croppedFull" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="getAllPlaylists" 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 argument croppedFull conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayModeAbilities_croppedFull_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_getAllPlaylists_misarg" priority="P2" purpose="Check if getAllPlaylists method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_croppedFull_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_getAllPlaylists_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="croppedFull" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="getAllPlaylists" 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 MediaControllerDisplayModeAbilities throws exception with invalid croppedFull value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayModeAbilities_croppedFull_invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_getAllPlaylists_successCallback_TypeMismatch" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_croppedFull_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_getAllPlaylists_successCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="croppedFull" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="getAllPlaylists" 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 MediaControllerDisplayModeAbilitiesInfo object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayModeAbilitiesInfo_extend">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_getAllPlaylists_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilitiesInfo_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_getAllPlaylists_successCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeAbilitiesInfo" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="getAllPlaylists" 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 interface MediaControllerDisplayModeAbilitiesInfo exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayModeAbilitiesInfo_notexist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylists_getAllPlaylists_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylists getAllPlaylists method with all optional arguments works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilitiesInfo_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_getAllPlaylists_with_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeAbilitiesInfo" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="getAllPlaylists" 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 letterBox of MediaControllerDisplayModeAbilities exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayModeAbilities_letterBox_attribute">
+ <testcase purpose="Check if MediaControllerPlaylistsInfo object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerPlaylistsInfo_extend">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_letterBox_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="letterBox" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylistsInfo" 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 originSize of MediaControllerDisplayModeAbilities exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayModeAbilities_originSize_attribute">
+ <testcase purpose="Check if interface MediaControllerPlaylistsInfo exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerPlaylistsInfo_notexist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_originSize_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="originSize" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerPlaylistsInfo" 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 fullScreen of MediaControllerDisplayModeAbilities exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayModeAbilities_fullScreen_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistsInfo_getAllPlaylists" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylistsInfo getAllPlaylists method without optional argument works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_fullScreen_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_getAllPlaylists.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="fullScreen" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="getAllPlaylists" 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 croppedFull of MediaControllerDisplayModeAbilities exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayModeAbilities_croppedFull_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistsInfo_getAllPlaylists_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_croppedFull_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_getAllPlaylists_errorCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayModeAbilities" element_type="attribute" element_name="croppedFull" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="getAllPlaylists" 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 MediaControllerAbilityChangeCallback ondisplayrotationabilitychanged is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilityChangeCallback_ondisplayrotationabilitychanged">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistsInfo_getAllPlaylists_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilityChangeCallback_ondisplayrotationabilitychanged.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_getAllPlaylists_errorCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="ondisplayrotationabilitychanged" element_type="method" element_name="onplaybackabilitychanged" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="getAllPlaylists" 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 displayRotation of MediaControllerAbilities exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilities_displayRotation_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistsInfo_getAllPlaylists_exist" priority="P0" purpose="Check if getAllPlaylists exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_displayRotation_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_getAllPlaylists_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilities" element_type="attribute" element_name="displayRotation" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="getAllPlaylists" 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 displayRotation of MediaControllerAbilitiesInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerAbilitiesInfo_displayRotation_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistsInfo_getAllPlaylists_misarg" priority="P2" purpose="Check if getAllPlaylists method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_displayRotation_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_getAllPlaylists_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerAbilitiesInfo" element_type="attribute" element_name="displayRotation" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="getAllPlaylists" 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 MediaControllerDisplayRotationAbilities object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayRotationAbilities_extend">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistsInfo_getAllPlaylists_successCallback_TypeMismatch" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_getAllPlaylists_successCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationAbilities" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="getAllPlaylists" 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 interface MediaControllerDisplayRotationAbilities exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayRotationAbilities_notexist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistsInfo_getAllPlaylists_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_getAllPlaylists_successCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationAbilities" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="getAllPlaylists" 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 rotationNone of MediaControllerDisplayRotationAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotationAbilities_rotationNone_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistsInfo_getAllPlaylists_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylistsInfo getAllPlaylists method with all optional arguments works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotationNone_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_getAllPlaylists_with_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotationNone" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="getAllPlaylists" 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 argument rotationNone conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayRotationAbilities_rotationNone_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistsInfo_sendPlaybackItem" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylistsInfo sendPlaybackItem method without optional argument works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotationNone_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_sendPlaybackItem.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotationNone" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendPlaybackItem" 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 MediaControllerDisplayRotationAbilities throws exception with invalid rotationNone value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayRotationAbilities_rotationNone_invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistsInfo_sendPlaybackItem_exist" priority="P0" purpose="Check if sendPlaybackItem exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotationNone_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_sendPlaybackItem_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotationNone" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendPlaybackItem" 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 rotation90 of MediaControllerDisplayRotationAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotationAbilities_rotation90_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistsInfo_sendPlaybackItem_misarg" priority="P2" purpose="Check if sendPlaybackItem method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation90_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_sendPlaybackItem_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotation90" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendPlaybackItem" 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 argument rotation90 conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayRotationAbilities_rotation90_TypeMismatch">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerPlaylistsInfo_sendPlaybackItem_action_TypeMismatch" priority="P2" purpose="Check if sendPlaybackItem throws exception when action is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation90_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_sendPlaybackItem_action_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotation90" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="sendPlaybackItem" 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 MediaControllerDisplayRotationAbilities throws exception with invalid rotation90 value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayRotationAbilities_rotation90_invalid">
+ <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">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation90_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotation90" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addPlaylistUpdateListener" 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 rotation180 of MediaControllerDisplayRotationAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotationAbilities_rotation180_attribute">
+ <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">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation180_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotation180" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addPlaylistUpdateListener" 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 argument rotation180 conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayRotationAbilities_rotation180_TypeMismatch">
+ <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">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation180_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_listener_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotation180" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addPlaylistUpdateListener" 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 MediaControllerDisplayRotationAbilities throws exception with invalid rotation180 value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayRotationAbilities_rotation180_invalid">
+ <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">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation180_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_listener_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotation180" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addPlaylistUpdateListener" 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 rotation270 of MediaControllerDisplayRotationAbilities exists, has type string" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotationAbilities_rotation270_attribute">
+ <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">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation270_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotation270" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="addPlaylistUpdateListener" 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 argument rotation270 conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayRotationAbilities_rotation270_TypeMismatch">
+ <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">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation270_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdateListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotation270" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removePlaylistUpdateListener" 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 MediaControllerDisplayRotationAbilities throws exception with invalid rotation270 value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerDisplayRotationAbilities_rotation270_invalid">
+ <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">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation270_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdateListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotation270" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removePlaylistUpdateListener" 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 MediaControllerDisplayRotationAbilitiesInfo object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayRotationAbilitiesInfo_extend">
+ <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">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilitiesInfo_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdateListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationAbilitiesInfo" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="removePlaylistUpdateListener" 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 interface MediaControllerDisplayRotationAbilitiesInfo exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerDisplayRotationAbilitiesInfo_notexist">
+ <testcase purpose="Check if attribute playlists of MediaControllerServerInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_playlists_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilitiesInfo_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_playlists_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationAbilitiesInfo" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="attribute" element_name="playlists" 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 rotationNone of MediaControllerDisplayRotationAbilities exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotationAbilities_rotationNone_attribute">
+ <testcase purpose="Check if attribute playback of MediaControllerServer exists, has type MediaControllerServerPlaybackInfo and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_playback_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotationNone_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_playback_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotationNone" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServer" element_type="attribute" element_name="playback" 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 rotation90 of MediaControllerDisplayRotationAbilities exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotationAbilities_rotation90_attribute">
+ <testcase purpose="Check if attribute playback of MediaControllerServer exists, has type MediaControllerServerInfoPlaybackInfo and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_playback_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation90_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_playback_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotation90" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="attribute" element_name="playback" 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 rotation180 of MediaControllerDisplayRotationAbilities exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotationAbilities_rotation180_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServerPlaybackInfo_updatePlaybackItem_exist" priority="P0" purpose="Check if updatePlaybackItem exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation180_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_updatePlaybackItem_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotation180" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="updatePlaybackItem" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute rotation270 of MediaControllerDisplayRotationAbilities exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerDisplayRotationAbilities_rotation270_attribute">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServerPlaybackInfo_updatePlaybackItem" priority="P1" purpose="Check if MediaControllerServerPlaybackInfo updatePlaybackItem method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation270_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_updatePlaybackItem.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerDisplayRotationAbilities" element_type="attribute" element_name="rotation270" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="updatePlaybackItem" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute seasonNumber of MediaControllerMetadata exists, has type long" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerMetadata_seasonNumber_attribute">
+ <testcase purpose="Check if attribute metadata of MediaControllerServerPlaybackInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerPlaybackInfo_metadata_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_seasonNumber_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_metadata_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerMetadata" element_type="attribute" element_name="seasonNumber" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerPlaybackInfo" element_type="attribute" element_name="metadata" 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 seasonTitle of MediaControllerMetadata exists, has type DOMString" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerMetadata_seasonTitle_attribute">
+ <testcase purpose="Check if attribute position of MediaControllerServerPlaybackInfo exists, has type long and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerPlaybackInfo_position_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_seasonTitle_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_position_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerMetadata" element_type="attribute" element_name="seasonTitle" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerPlaybackInfo" element_type="attribute" element_name="position" 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 episodeNumber of MediaControllerMetadata exists, has type long" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerMetadata_episodeNumber_attribute">
+ <testcase purpose="Check if attribute repeatState of MediaControllerServerPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerPlaybackInfo_repeatState_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_episodeNumber_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_repeatState_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerMetadata" element_type="attribute" element_name="episodeNumber" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerPlaybackInfo" element_type="attribute" element_name="repeatState" 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 episodeTitle of MediaControllerMetadata exists, has type DOMString" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerMetadata_episodeTitle_attribute">
+ <testcase purpose="Check if attribute shuffleMode of MediaControllerServerPlaybackInfo exists, has type boolean and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerPlaybackInfo_shuffleMode_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_episodeTitle_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_shuffleMode_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerMetadata" element_type="attribute" element_name="episodeTitle" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerPlaybackInfo" element_type="attribute" element_name="shuffleMode" 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 resolutionWidth of MediaControllerMetadata exists, has type long" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerMetadata_resolutionWidth_attribute">
+ <testcase purpose="Check if attribute state of MediaControllerServerPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerPlaybackInfo_state_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_resolutionWidth_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_state_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerMetadata" element_type="attribute" element_name="resolutionWidth" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerPlaybackInfo" element_type="attribute" element_name="state" 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 resolutionHeight of MediaControllerMetadata exists, has type long" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerMetadata_resolutionHeight_attribute">
+ <testcase purpose="Check if attribute ageRating of MediaControllerServerPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerPlaybackInfo_ageRating_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_resolutionHeight_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_ageRating_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerMetadata" element_type="attribute" element_name="resolutionHeight" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerPlaybackInfo" element_type="attribute" element_name="ageRating" 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 getAllClientsInfo() works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_getAllClientsInfo">
+ <testcase purpose="Check if attribute index of MediaControllerServerPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerPlaybackInfo_index_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_index_attribute.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_assertion interface="MediaControllerServerPlaybackInfo" element_type="attribute" element_name="index" 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">
+ <testcase purpose="Check if attribute playlistName of MediaControllerServerPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerPlaybackInfo_playlistName_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_playlistName_attribute.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_assertion interface="MediaControllerServerPlaybackInfo" element_type="attribute" element_name="playlistName" 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">
+ <testcase purpose="Check if attribute contentType of MediaControllerServerPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerPlaybackInfo_contentType_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_contentType_attribute.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_assertion interface="MediaControllerServerPlaybackInfo" element_type="attribute" element_name="contentType" 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">
+ <testcase purpose="Check if attribute metadata of MediaControllerServerInfoPlaybackInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfoPlaybackInfo_metadata_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_metadata_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerClientInfo" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="attribute" element_name="metadata" 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.">
+ <testcase purpose="Check if attribute position of MediaControllerServerInfoPlaybackInfo exists, has type long and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfoPlaybackInfo_position_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_position_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="MediaControllerClientInfo" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="attribute" element_name="position" 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">
+ <testcase purpose="Check if attribute repeatState of MediaControllerServerInfoPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfoPlaybackInfo_repeatState_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_name_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_repeatState_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_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="attribute" element_name="repeatState" 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">
+ <testcase purpose="Check if attribute shuffleMode of MediaControllerServerInfoPlaybackInfo exists, has type boolean and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfoPlaybackInfo_shuffleMode_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_shuffleMode_attribute.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_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="attribute" element_name="shuffleMode" 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">
+ <testcase purpose="Check if attribute state of MediaControllerServerInfoPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfoPlaybackInfo_state_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_data_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_state_attribute.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_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="attribute" element_name="state" 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">
+ <testcase purpose="Check if attribute ageRating of MediaControllerServerInfoPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfoPlaybackInfo_ageRating_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_ageRating_attribute.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_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="attribute" element_name="ageRating" 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">
+ <testcase purpose="Check if attribute index of MediaControllerServerInfoPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfoPlaybackInfo_index_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_index_attribute.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_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="attribute" element_name="index" 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">
+ <testcase purpose="Check if attribute playlistName of MediaControllerServerInfoPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfoPlaybackInfo_playlistName_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_playlistName_attribute.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_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="attribute" element_name="playlistName" 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">
+ <testcase purpose="Check if attribute contentType of MediaControllerServerInfoPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfoPlaybackInfo_contentType_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_contentType_attribute.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_assertion interface="MediaControllerServerInfoPlaybackInfo" element_type="attribute" element_name="contentType" 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">
+
+ <testcase purpose="Check argument ageRating conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerPlaybackInfo_ageRating_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_ageRating_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_assertion interface="MediaControllerServerPlaybackInfo" element_type="attribute" element_name="ageRating" 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">
+ <testcase purpose="Check argument contentType conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerPlaybackInfo_contentType_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_contentType_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_assertion interface="MediaControllerServerPlaybackInfo" element_type="attribute" element_name="contentType" 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">
+ <testcase purpose="Check MediaControllerServerPlaybackInfo throws exception with invalid position value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerPlaybackInfo_position_invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_position_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_assertion interface="MediaControllerServerPlaybackInfo" element_type="attribute" element_name="position" 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">
+ <testcase purpose="Check argument repeatState conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerPlaybackInfo_repeatState_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_repeatState_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_assertion interface="MediaControllerServerPlaybackInfo" element_type="attribute" element_name="repeatState" 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">
+ <testcase purpose="Check argument state conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerPlaybackInfo_state_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_state_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_assertion interface="MediaControllerServerPlaybackInfo" element_type="attribute" element_name="state" 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">
+ <testcase purpose="Check if MediaControllerMetadata save method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerMetadata_save">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_save.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_assertion interface="MediaControllerMetadata" element_type="method" element_name="save" 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">
+ <testcase purpose="Check if save exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerMetadata_save_exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_save_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_assertion interface="MediaControllerMetadata" element_type="method" element_name="save" 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">
+ <testcase purpose="Check using MediaControllerMetadata::save() method with extra argument" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerMetadata_save_extra_argument">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_save_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_assertion interface="MediaControllerMetadata" element_type="method" element_name="save" 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>
<test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerChangeRequestPlaybackInfoCallback_onplaybackpositionrequest" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaybackInfoChangeCallback onplaybackpositionrequest is called and if its arguments have proper type">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_onplaybackpositionrequest.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerChangeRequestPlaybackInfoCallback_onplaybackstaterequest" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaybackInfoChangeCallback onplaybackstaterequest is called and if its arguments have proper type">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_onplaybackstaterequest.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerChangeRequestPlaybackInfoCallback_onrepeatstaterequest" onload_delay="30" priority="P1" purpose="Check if MediaControllerChangeRequestPlaybackInfoCallback onrepeatstaterequest is called and if its arguments have proper type">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_onrepeatstaterequest.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerChangeRequestPlaybackInfoCallback_onshufflemoderequest" onload_delay="30" priority="P1" purpose="Check if MediaControllerChangeRequestPlaybackInfoCallback onshufflemoderequest is called and if its arguments have proper type">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_onshufflemoderequest.html</test_script_entry>
- </description>
- </testcase>
<testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_extend" priority="P3" purpose="Check if MediaControllerClient object is extendable">
<description>
<test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_extend.html</test_script_entry>
<test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfoChangeCallback_onshufflemodechanged.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_extend" priority="P3" purpose="Check if MediaControllerPlaybackInfo object is extendable">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_extend.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_metadata_attribute" priority="P1" purpose="Check if attribute metadata of MediaControllerPlaybackInfo exists, has type object and is readonly">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_metadata_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_notexist" priority="P3" purpose="Check if interface MediaControllerPlaybackInfo exists, it should not.">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_position_attribute" priority="P1" purpose="Check if attribute position of MediaControllerPlaybackInfo exists, has type long and is readonly">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_position_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_repeatState_attribute" priority="P1" purpose="Check if attribute repeatState of MediaControllerPlaybackInfo exists, has type string and is readonly">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_repeatState_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_shuffleMode_attribute" priority="P1" purpose="Check if attribute shuffleMode of MediaControllerPlaybackInfo exists, has type boolean and is readonly">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_shuffleMode_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_state_attribute" priority="P1" purpose="Check if attribute state of MediaControllerPlaybackInfo exists, has type string and is readonly">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_state_attribute.html</test_script_entry>
- </description>
- </testcase>
<testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerReceiveCommandCallback_notexist" priority="P3" purpose="Check if interface MediaControllerReceiveCommandCallback exists, it should not">
<description>
<test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerReceiveCommandCallback_notexist.html</test_script_entry>
<test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoArraySuccessCallback_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaybackInfoChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo addPlaybackInfoChangeListener method works properly">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_addPlaybackInfoChangeListener.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_exist" priority="P0" purpose="check if addPlaybackInfoChangeListener exists">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_addPlaybackInfoChangeListener_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch" priority="P2" purpose="Check if addPlaybackInfoChangeListener throws exception when listener is incorrect">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid" priority="P2" purpose="Check if addPlaybackInfoChangeListener throws exception when listener is invalid">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg" priority="P2" purpose="Check if addPlaybackInfoChangeListener method called with missing non-optional argument throws an exception">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg.html</test_script_entry>
- </description>
- </testcase>
<testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="manual" id="MediaControllerServerInfo_addServerStatusChangeListener" onload_delay="90" priority="P1" purpose="Check if addServerStatusChangeListener() works properly">
<description>
<test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_addServerStatusChangeListener.html</test_script_entry>
<test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_playbackInfo_attribute" priority="P1" purpose="Check if attribute playbackInfo of MediaControllerServerInfo exists, has type MediaControllerPlaybackInfo and is readonly">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_playbackInfo_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaybackInfoChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo removePlaybackInfoChangeListener method works properly">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_removePlaybackInfoChangeListener.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_exist" priority="P0" purpose="check if removePlaybackInfoChangeListener exists">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_removePlaybackInfoChangeListener_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg" priority="P2" purpose="Check if removePlaybackInfoChangeListener method called with missing non-optional argument does not throw any exception">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid" priority="P2" purpose="Check if removePlaybackInfoChangeListener method of MediaControllerServerInfo called with invalid value throws an exception">
- <description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid.html</test_script_entry>
- </description>
- </testcase>
<testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="manual" id="MediaControllerServerInfo_removeServerStatusChangeListener" onload_delay="90" priority="P1" purpose="Check if removeServerStatusChangeListener() works properly">
<description>
<test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_removeServerStatusChangeListener.html</test_script_entry>
<test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendCommand_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackPosition method without optional argument works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_state_attribute" priority="P1" purpose="Check if attribute state of MediaControllerServer exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackPosition.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_state_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if sendPlaybackPosition throws exception when errorCallback is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerStatusChangeCallback_notexist" priority="P3" purpose="Check if interface MediaControllerServerStatusChangeCallback exists, it should not">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerStatusChangeCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendPlaybackPosition throws exception when errorCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="manual" id="MediaControllerServerStatusChangeCallback_onsuccess" onload_delay="90" priority="P1" purpose="Check MediaControllerServerStatusChangeCallback onsuccess method">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerStatusChangeCallback_onsuccess.html</test_script_entry>
+ <pre_condition>Install MediaControllerHelper.wgt
+ For mobile (specially on TV) you could use shell command to switch applications:
+ aul_test open LPGl86libB.MediaControllerHelper
+ aul_test open apimediact.WebAPITizenMediaKeyTests</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch MediaControllerHelper and press createServer button.</step_desc>
+ <expected>server is created successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Press run button.</step_desc>
+ <expected>Testcase started.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Go back MediaControllerHelper app,then press Exit application button.</step_desc>
+ <expected>PASS.</expected>
+ </step>
+ </steps>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_exist" priority="P0" purpose="Check if sendPlaybackPosition exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addCommandListener" onload_delay="90" priority="P1" purpose="Check if addCommandListener() works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackPosition_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addCommandListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_misarg" priority="P2" purpose="Check if sendPlaybackPosition method called with missing non-optional argument does NOT throw an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addCommandListener_exist" priority="P0" purpose="Check if method addCommandListener of MediaControllerServer exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackPosition_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addCommandListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch" priority="P2" purpose="Check if sendPlaybackPosition throws exception when successCallback is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addCommandListener_listener_TypeMismatch" priority="P2" purpose="Check argument callback conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addCommandListener_listener_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendPlaybackPosition throws exception when successCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addCommandListener_listener_invalid" priority="P2" purpose="Check if addCommandListener throws exception when callback is inavlid listener">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addCommandListener_listener_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackPosition method with all optional arguments works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addCommandListener_misarg" priority="P2" purpose="Check if addCommandListener method of MediaControllerServer called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addCommandListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackState method without optional argument works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_extend" priority="P3" purpose="Check if MediaControllerServer object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackState.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if sendPlaybackState throws exception when errorCallback is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_notexist" priority="P3" purpose="Check if interface MediaControllerServer exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendPlaybackState throws exception when errorCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeCommandListener" onload_delay="90" priority="P1" purpose="Check if removeCommandListener() works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeCommandListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_exist" priority="P0" purpose="Check if sendPlaybackState exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeCommandListener_exist" priority="P0" purpose="Check if method removeCommandListener of MediaControllerServer exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackState_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeCommandListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_misarg" priority="P2" purpose="Check if sendPlaybackState method called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeCommandListener_misarg" priority="P2" purpose="Check if removeCommandListener method of MediaControllerServer called with missing non-optional argument does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackState_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeCommandListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch" priority="P2" purpose="Check if sendPlaybackState throws exception when state is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeCommandListener_watchId_invalid" priority="P2" purpose="Check if removeCommandListener method of MediaControllerServer called with invalid value does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeCommandListener_watchId_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch" priority="P2" purpose="Check if sendPlaybackState throws exception when successCallback is incorrect">
+ <testcase comsponent="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_extend" priority="P3" purpose="Check if MediaControllerPlaylist object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendPlaybackState throws exception when successCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_notexist" priority="P3" purpose="Check if interface MediaControllerPlaylist exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackState method with all optional arguments works properly">
+ <testcase comsponent="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistItem_extend" priority="P3" purpose="Check if MediaControllerPlaylistItem object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackState_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistItem_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState" priority="P1" purpose="Check if sendRepeatState() works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistItem_notexist" priority="P3" purpose="Check if interface MediaControllerPlaylistItem exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendRepeatState.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistItem_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch" onload_delay="90" priority="P2" purpose="Check argument errorCallback conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistItem_index_attribute" priority="P1" purpose="Check if attribute index of MediaControllerPlaylistItem exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistItem_index_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if sendRepeatState throws exception when errorCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistItem_metadata_attribute" priority="P1" purpose="Check if attribute metadata of MediaControllerPlaylistItem exists, has type object and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistItem_metadata_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_exist" priority="P0" purpose="Check if method sendRepeatState of MediaControllerServerInfo exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_name_attribute" priority="P1" purpose="Check if attribute name of MediaControllerPlaylist exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendRepeatState_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_name_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_state_TypeMismatch" priority="P2" purpose="Check argument state conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_addItem" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylist addItem method without optional argument works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendRepeatState_state_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_addItem.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch" priority="P2" purpose="Check argument successCallback conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_addItem_metadata_empty" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylist addItem method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_addItem_metadata_empty.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if sendRepeatState throws exception when successCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_addItem_exist" priority="P0" purpose="Check if addItem exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_addItem_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_with_errorCallback" onload_delay="90" priority="P1" purpose="Check if sendRepeatState method works properly with errorCallback argument">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_addItem_misarg" priority="P2" purpose="Check if addItem method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendRepeatState_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_addItem_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendShuffleMode method without optional argument works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_addItem_metadata_TypeMismatch" priority="P2" purpose="Check if addItem throws exception when metadata is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendShuffleMode.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_addItem_metadata_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if sendShuffleMode throws exception when errorCallback is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_getItems" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylist getItems method without optional argument works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendShuffleMode throws exception when errorCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_getItems_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getItems throws exception when errorCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_exist" priority="P0" purpose="Check if sendShuffleMode exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_getItems_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getItems throws exception when errorCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendShuffleMode_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch" priority="P2" purpose="Check if sendShuffleMode throws exception when successCallback is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_getItems_exist" priority="P0" purpose="Check if getItems exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendShuffleMode throws exception when successCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_getItems_misarg" priority="P2" purpose="Check if getItems method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendShuffleMode method with all optional arguments works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_getItems_successCallback_TypeMismatch" priority="P2" purpose="Check if getItems throws exception when successCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendShuffleMode_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_state_attribute" priority="P1" purpose="Check if attribute state of MediaControllerServer exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_getItems_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getItems throws exception when successCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_state_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerStatusChangeCallback_notexist" priority="P3" purpose="Check if interface MediaControllerServerStatusChangeCallback exists, it should not">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_getItems_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylist getItems method with all optional arguments works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerStatusChangeCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="manual" id="MediaControllerServerStatusChangeCallback_onsuccess" onload_delay="90" priority="P1" purpose="Check MediaControllerServerStatusChangeCallback onsuccess method">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerGetAllPlaylistsSuccessCallback_notexist" priority="P3" purpose="Check if interface MediaControllerGetAllPlaylistsSuccessCallback exists, it should not">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerStatusChangeCallback_onsuccess.html</test_script_entry>
- <pre_condition>Install MediaControllerHelper.wgt
- For mobile (specially on TV) you could use shell command to switch applications:
- aul_test open LPGl86libB.MediaControllerHelper
- aul_test open apimediact.WebAPITizenMediaKeyTests</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Launch MediaControllerHelper and press createServer button.</step_desc>
- <expected>server is created successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Press run button.</step_desc>
- <expected>Testcase started.</expected>
- </step>
- <step order="3">
- <step_desc>Go back MediaControllerHelper app,then press Exit application button.</step_desc>
- <expected>PASS.</expected>
- </step>
- </steps>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerGetAllPlaylistsSuccessCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addChangeRequestPlaybackInfoListener" onload_delay="90" priority="P1" purpose="Check if addChangeRequestPlaybackInfoListener() works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerGetAllPlaylistsSuccessCallback_onsuccess" onload_delay="90" priority="P1" purpose="Check MediaControllerGetAllPlaylistsSuccessCallback onsuccess method">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addChangeRequestPlaybackInfoListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerGetAllPlaylistsSuccessCallback_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_exist" priority="P0" purpose="Check if method addChangeRequestPlaybackInfoListener of MediaControllerServer exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistUpdatedCallback_notexist" priority="P3" purpose="Check if interface MediaControllerPlaylistUpdatedCallback exists, it should not">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addChangeRequestPlaybackInfoListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistUpdatedCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch" priority="P2" purpose="Check if addChangeRequestPlaybackInfoListener throws exception when listener is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistUpdatedCallback_onplaylistupdated" onload_delay="90" priority="P1" purpose="Check MediaControllerPlaylistUpdatedCallback onplaylistupdated method">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistUpdatedCallback_onplaylistupdated.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid" priority="P2" purpose="Check if addChangeRequestPlaybackInfoListener throws exception when callback is inavlid listener">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistUpdatedCallback_onplaylistdeleted" onload_delay="90" priority="P1" purpose="Check MediaControllerPlaylistUpdatedCallback onplaylistdeleted method">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistUpdatedCallback_onplaylistdeleted.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg" priority="P2" purpose="Check if addChangeRequestPlaybackInfoListener method of MediaControllerServer called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerGetItemsSuccessCallback_notexist" priority="P3" purpose="Check if interface MediaControllerGetItemsSuccessCallback exists, it should not">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerGetItemsSuccessCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addCommandListener" onload_delay="90" priority="P1" purpose="Check if addCommandListener() works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerGetItemsSuccessCallback_onsuccess" onload_delay="90" priority="P1" purpose="Check MediaControllerGetItemsSuccessCallback onsuccess method">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addCommandListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerGetItemsSuccessCallback_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addCommandListener_exist" priority="P0" purpose="Check if method addCommandListener of MediaControllerServer exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_iconURI_attribute" priority="P1" purpose="Check if attribute iconURI of MediaControllerServer exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addCommandListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_iconURI_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addCommandListener_listener_TypeMismatch" priority="P2" purpose="Check argument callback conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_iconURI_attribute" priority="P1" purpose="Check if attribute iconURI of MediaControllerServerInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addCommandListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_iconURI_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addCommandListener_listener_invalid" priority="P2" purpose="Check if addCommandListener throws exception when callback is inavlid listener">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="SearchFilter_exist" priority="P1" purpose="Check if SearchFilter exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addCommandListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addCommandListener_misarg" priority="P2" purpose="Check if addCommandListener method of MediaControllerServer called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="SearchFilter_constructor" priority="P1" purpose="Check if SearchFilter constructor is correct">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_addCommandListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_constructor.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_extend" priority="P3" purpose="Check if MediaControllerServer object is extendable">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="SearchFilter_constructor_min" priority="P1" purpose="Check if SearchFilter constructor is correct without all optional arguments">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_constructor_min.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_notexist" priority="P3" purpose="Check if interface MediaControllerServer exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="RequestReply_exist" priority="P1" purpose="Check if RequestReply exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/RequestReply_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_playbackInfo_attribute" priority="P1" purpose="Check if attribute playbackInfo of MediaControllerServer exists, has type MediaControllerPlaybackInfo and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="RequestReply_constructor" priority="P1" purpose="Check if RequestReply constructor is correct">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_playbackInfo_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/RequestReply_constructor.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener" onload_delay="90" priority="P1" purpose="Check if removeChangeRequestPlaybackInfoListener() works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="RequestReply_constructor_min" priority="P1" purpose="Check if RequestReply constructor is correct without all optional arguments">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeChangeRequestPlaybackInfoListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/RequestReply_constructor_min.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist" priority="P0" purpose="Check if method removeChangeRequestPlaybackInfoListener of MediaControllerServer exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="SearchFilter_contentType_TypeMismatch" priority="P2" purpose="Check argument contentType conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_contentType_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg" priority="P2" purpose="Check if removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with missing non-optional argument does NOT throw any exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="SearchFilter_category_TypeMismatch" priority="P2" purpose="Check argument category conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_category_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid" priority="P2" purpose="Check if removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with invalid value does not throw any exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="SearchFilter_category_invalid" priority="P2" purpose="Check SearchFilter throws exception with invalid category value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_category_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeCommandListener" onload_delay="90" priority="P1" purpose="Check if removeCommandListener() works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="SearchFilter_keyword_invalid" priority="P2" purpose="Check SearchFilter throws exception with invalid keyword value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeCommandListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_keyword_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeCommandListener_exist" priority="P0" purpose="Check if method removeCommandListener of MediaControllerServer exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendSearchRequest" priority="P1" purpose="Check if sendSearchRequest() works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeCommandListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeCommandListener_misarg" priority="P2" purpose="Check if removeCommandListener method of MediaControllerServer called with missing non-optional argument does not throw any exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendSearchRequest_errorCallback_TypeMismatch" onload_delay="90" priority="P2" purpose="Check argument sendSearchRequest conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeCommandListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeCommandListener_watchId_invalid" priority="P2" purpose="Check if removeCommandListener method of MediaControllerServer called with invalid value does not throw any exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendSearchRequest_errorCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if sendSearchRequest throws exception when errorCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_removeCommandListener_watchId_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateMetadata" priority="P1" purpose="Check if updateMetadata() works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendSearchRequest_exist" priority="P0" purpose="Check if method sendSearchRequest of MediaControllerServerInfo exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateMetadata.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateMetadata_exist" priority="P0" purpose="Check if method updateMetadata of MediaControllerServer exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendSearchRequest_request_TypeMismatch" priority="P2" purpose="Check argument request conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateMetadata_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_request_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateMetadata_invalid_obj" priority="P2" purpose="Check if updateMetadata() method throw exception when a fake system object was passed">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendSearchRequest_request_invalid" priority="P2" purpose="Check if sendSearchRequest throws invalid error when request objects greater then 20">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateMetadata_invalid_obj.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_request_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateMetadata_metadata_TypeMismatch" priority="P2" purpose="Check argument metadata conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendSearchRequest_successCallback_TypeMismatch" priority="P2" purpose="Check argument replyCallback conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateMetadata_metadata_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_replyCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateMetadata_misarg" priority="P2" purpose="Check if updateMetadata method of MediaControllerServer called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendSearchRequest_replyCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if sendSearchRequest throws exception when replyCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateMetadata_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_replyCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackPosition" priority="P1" purpose="Check if MediaControllerServer updatePlaybackPosition method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendSearchRequest_with_errorCallback" onload_delay="90" priority="P1" purpose="Check if sendSearchRequest method works properly with errorCallback argument">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackPosition.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackPosition_exist" priority="P0" purpose="Check if updatePlaybackPosition exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_setSearchRequestListener" priority="P1" purpose="Check if MediaControllerServer setSearchRequestListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackPosition_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_setSearchRequestListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackPosition_misarg" priority="P2" purpose="Check if updatePlaybackPosition method of MediaControllerServer called with missing non-optional argument does not throw any exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_setSearchRequestListener_exist" priority="P0" purpose="check if setSearchRequestListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackPosition_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_setSearchRequestListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackPosition_position_invalid" priority="P2" purpose="Check if updatePlaybackPosition method of MediaControllerServer called with negative value should NOT throw an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_setSearchRequestListener_listener_TypeMismatch" priority="P2" purpose="Check if setSearchRequestListener throws exception when listener is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackPosition_position_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_setSearchRequestListener_listener_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackState" priority="P1" purpose="Check if MediaControllerServer updatePlaybackState method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_setSearchRequestListener_listener_invalid" priority="P2" purpose="Check if setSearchRequestListener throws exception when listener is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackState.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_setSearchRequestListener_listener_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackState_exist" priority="P0" purpose="Check if updatePlaybackState exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_setSearchRequestListener_misarg" priority="P2" purpose="Check if setSearchRequestListener method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackState_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_setSearchRequestListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackState_misarg" priority="P2" purpose="Check if updatePlaybackState method called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_unsetSearchRequestListener" priority="P1" purpose="Check if MediaControllerServer unsetSearchRequestListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackState_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_unsetSearchRequestListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackState_state_TypeMismatch" priority="P2" purpose="Check argument state conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_unsetSearchRequestListener_exist" priority="P0" purpose="check if unsetSearchRequestListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackState_state_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_unsetSearchRequestListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackState_state_invalid" priority="P2" purpose="Check updatePlaybackState throws type exception with invalid state value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_unsetSearchRequestListener_extra_argument" priority="P1" purpose="Check using unsetSearchRequestListener method with extra argument">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackState_state_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_unsetSearchRequestListener_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateRepeatState" priority="P1" purpose="Check if MediaControllerServer updateRepeatState method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSearchRequestReplyCallback_notexist" priority="P3" purpose="Check if interface MediaControllerSearchRequestReplyCallback exists, it should not">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateRepeatState.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSearchRequestReplyCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateRepeatState_exist" priority="P0" purpose="Check if updateRepeatState exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSearchRequestReplyCallback_onreply" priority="P1" purpose="Check MediaControllerSearchRequestReplyCallback onreply method">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateRepeatState_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSearchRequestReplyCallback_onreply.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateRepeatState_misarg" priority="P2" purpose="Check if updateRepeatState method of MediaControllerServer called with missing non-optional argument does NOT throw an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSearchRequestCallback_notexist" priority="P3" purpose="Check if interface MediaControllerSearchRequestCallback exists, it should not">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateRepeatState_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSearchRequestCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateRepeatState_state_TypeMismatch" priority="P2" purpose="Check argument state conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSearchRequestCallback_onrequest" priority="P1" purpose="Check MediaControllerSearchRequestCallback onrequest method">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateRepeatState_state_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSearchRequestCallback_onrequest.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateShuffleMode" priority="P1" purpose="Check if MediaControllerServer updateShuffleMode method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_abilities_attribute" priority="P1" purpose="Check if attribute abilities of MediaControllerServer exists, has type object and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateShuffleMode.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_abilities_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateShuffleMode_exist" priority="P0" purpose="Check if updateShuffleMode exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_findSubscribedServers" onload_delay="90" priority="P1" purpose="Check if findSubscribedServers() works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateShuffleMode_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateShuffleMode_misarg" priority="P2" purpose="Check if updateShuffleMode method of MediaControllerServer called with missing non-optional argument does NOT throw an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_findSubscribedServers_errorCallback_TypeMismatch" onload_delay="90" priority="P2" purpose="Check argument errorCallback conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateShuffleMode_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackAgeRating" priority="P1" purpose="Check if MediaControllerServer updatePlaybackAgeRating method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_findSubscribedServers_errorCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if findSubscribedServers throws exception when errorCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackAgeRating.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackAgeRating_exist" priority="P0" purpose="Check if updatePlaybackAgeRating exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_findSubscribedServers_exist" priority="P0" purpose="Check if method findSubscribedServers of MediaControllerClient exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackAgeRating_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackAgeRating_misarg" priority="P2" purpose="Check if updatePlaybackAgeRating method of MediaControllerServer called with missing non-optional argument should throw an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_findSubscribedServers_misarg" priority="P2" purpose="Check if findSubscribedServers method of MediaControllerClient called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackAgeRating_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch" priority="P2" purpose="Check argument rating conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_findSubscribedServers_successCallback_TypeMismatch" priority="P2" purpose="Check argument successCallback conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_ageRating_attribute" priority="P1" purpose="Check if attribute ageRating of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_findSubscribedServers_successCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if findSubscribedServers throws exception when successCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_ageRating_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase comsponent="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_extend" priority="P3" purpose="Check if MediaControllerPlaylist object is extendable">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_findSubscribedServers_with_errorCallback" onload_delay="90" priority="P1" purpose="Check if findSubscribedServers method works properly with errorCallback argument">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_notexist" priority="P3" purpose="Check if interface MediaControllerPlaylist exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_addAbilityChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerClient addAbilityChangeListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_addAbilityChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_createPlaylist_exist" priority="P0" purpose="Check if createPlaylist exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_addAbilityChangeListener_exist" priority="P0" purpose="check if addAbilityChangeListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_createPlaylist_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_addAbilityChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_createPlaylist" priority="P1" purpose="Check if MediaControllerServer createPlaylist method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_addAbilityChangeListener_listener_TypeMismatch" priority="P2" purpose="Check if addAbilityChangeListener throws exception when listener is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_createPlaylist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_addAbilityChangeListener_listener_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_createPlaylist_invalid" priority="P2" purpose="Check if createPlaylist thrown invalid exception when playlist name already exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_addAbilityChangeListener_listener_invalid" priority="P2" purpose="Check if addAbilityChangeListener throws exception when listener is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_createPlaylist_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_addAbilityChangeListener_listener_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer savePlaylist method without optional argument works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_addAbilityChangeListener_misarg" priority="P2" purpose="Check if addAbilityChangeListener method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_savePlaylist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_addAbilityChangeListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when errorCallback is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_removeAbilityChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerClient removeAbilityChangeListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_savePlaylist_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_removeAbilityChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when errorCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_removeAbilityChangeListener_exist" priority="P0" purpose="check if removeAbilityChangeListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_savePlaylist_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_removeAbilityChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_exist" priority="P0" purpose="Check if savePlaylist exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_removeAbilityChangeListener_misarg" priority="P2" purpose="Check if removeAbilityChangeListener method called with missing non-optional argument does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_savePlaylist_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_removeAbilityChangeListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_misarg" priority="P2" purpose="Check if savePlaylist method called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_abilities_attribute" priority="P1" purpose="Check if attribute abilities of MediaControllerServerInfo exists, has type object and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_savePlaylist_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_abilities_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_playlist_TypeMismatch" priority="P2" purpose="Check if savePlaylist throws exception when state is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_extend" priority="P3" purpose="Check if MediaControllerAbilities object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_savePlaylist_playlist_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_successCallback_TypeMismatch" priority="P2" purpose="Check if savePlaylist throws exception when successCallback is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_notexist" priority="P3" purpose="Check if interface MediaControllerAbilities exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_savePlaylist_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when successCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_playback_attribute" priority="P1" purpose="Check if attribute playback of MediaControllerAbilities exists, has type object and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_savePlaylist_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playback_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer savePlaylist method with all optional arguments works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_clientCustom_attribute" priority="P1" purpose="Check if attribute clientCustom of MediaControllerAbilities exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_savePlaylist_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_clientCustom_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_invoke" onload_delay="30" priority="P2" purpose="Check if errorCallback invoked when playlist with given name does not exist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_clientCustom_invalid" priority="P2" purpose="Check MediaControllerAbilities throws exception with invalid clientCustom value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_savePlaylist_errorCallback_invoke.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_clientCustom_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer deletePlaylist method without optional argument works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_clientCustom_TypeMismatch" priority="P2" purpose="Check argument clientCustom conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_deletePlaylist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_clientCustom_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when errorCallback is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_playbackPosition_attribute" priority="P1" purpose="Check if attribute playbackPosition of MediaControllerAbilities exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playbackPosition_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when errorCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_playbackPosition_invalid" priority="P2" purpose="Check MediaControllerAbilities throws exception with invalid playbackPosition value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_deletePlaylist_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playbackPosition_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_exist" priority="P0" purpose="Check if deletePlaylist exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_playbackPosition_TypeMismatch" priority="P2" purpose="Check argument playbackPosition conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_deletePlaylist_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playbackPosition_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_successCallback_TypeMismatch" priority="P2" purpose="Check if deletePlaylist throws exception when successCallback is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_playlist_attribute" priority="P1" purpose="Check if attribute playlist of MediaControllerAbilities exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_deletePlaylist_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playlist_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when successCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_playlist_invalid" priority="P2" purpose="Check MediaControllerAbilities throws exception with invalid playlist value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_deletePlaylist_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playlist_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer deletePlaylist method with all optional arguments works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_playlist_TypeMismatch" onload_delay="90" priority="P2" purpose="Check argument playlist conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_deletePlaylist_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playlist_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_invoke" onload_delay="30" priority="P2" purpose="Check if errorCallback invoked when playlist with given name does not exist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_repeat_attribute" priority="P1" purpose="Check if attribute repeat of MediaControllerAbilities exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_deletePlaylist_errorCallback_invoke.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_repeat_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackItem_exist" priority="P0" purpose="Check if updatePlaybackItem exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_repeat_invalid" priority="P2" purpose="Check MediaControllerAbilities throws exception with invalid repeat value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackItem_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_repeat_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackItem" priority="P1" purpose="Check if MediaControllerServer updatePlaybackItem method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_repeat_TypeMismatch" priority="P2" purpose="Check argument repeat conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackItem.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_repeat_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer getAllPlaylists method without optional argument works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_search_attribute" priority="P1" purpose="Check if attribute search of MediaControllerAbilities exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllPlaylists.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_search_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_search_invalid" priority="P2" purpose="Check MediaControllerAbilities throws exception with invalid search value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_search_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_search_TypeMismatch" priority="P2" purpose="Check argument search conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_search_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_exist" priority="P0" purpose="Check if getAllPlaylists exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_shuffle_attribute" priority="P1" purpose="Check if attribute shuffle of MediaControllerAbilities exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllPlaylists_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_shuffle_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_misarg" priority="P2" purpose="Check if getAllPlaylists method called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_shuffle_invalid" priority="P2" purpose="Check MediaControllerAbilities throws exception with invalid shuffle value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllPlaylists_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_shuffle_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_shuffle_TypeMismatch" priority="P2" purpose="Check argument shuffle conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_shuffle_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_extend" priority="P3" purpose="Check if MediaControllerPlaybackAbilities object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllPlaylists_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer getAllPlaylists method with all optional arguments works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_notexist" priority="P3" purpose="Check if interface MediaControllerPlaybackAbilities exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllPlaylists_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo getAllPlaylists method without optional argument works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_play_attribute" priority="P1" purpose="Check if attribute play of MediaControllerPlaybackAbilities exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_getAllPlaylists.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_play_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_play_invalid" priority="P2" purpose="Check MediaControllerPlaybackAbilities throws exception with invalid play value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_play_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_play_TypeMismatch" priority="P2" purpose="Check argument play conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_play_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_exist" priority="P0" purpose="Check if getAllPlaylists exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_forward_attribute" priority="P1" purpose="Check if attribute forward of MediaControllerPlaybackAbilities exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_getAllPlaylists_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_forward_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_misarg" priority="P2" purpose="Check if getAllPlaylists method called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_forward_invalid" priority="P2" purpose="Check MediaControllerPlaybackAbilities throws exception with invalid forward value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_getAllPlaylists_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_forward_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_forward_TypeMismatch" priority="P2" purpose="Check argument forward conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_forward_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_next_attribute" priority="P1" purpose="Check if attribute next of MediaControllerPlaybackAbilities exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_next_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo getAllPlaylists method with all optional arguments works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_next_invalid" priority="P2" purpose="Check MediaControllerPlaybackAbilities throws exception with invalid next value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_getAllPlaylists_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_next_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackItem" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackItem method without optional argument works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_next_TypeMismatch" priority="P2" purpose="Check argument next conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackItem.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_next_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackItem_exist" priority="P0" purpose="Check if sendPlaybackItem exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_pause_attribute" priority="P1" purpose="Check if attribute pause of MediaControllerPlaybackAbilities exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackItem_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_pause_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackItem_misarg" priority="P2" purpose="Check if sendPlaybackItem method called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_pause_invalid" priority="P2" purpose="Check MediaControllerPlaybackAbilities throws exception with invalid pause value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackItem_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_pause_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch" priority="P2" purpose="Check if sendPlaybackItem throws exception when state is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_pause_TypeMismatch" priority="P2" purpose="Check argument pause conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_pause_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaylistUpdatedListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo addPlaylistUpdatedListener method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_prev_attribute" priority="P1" purpose="Check if attribute prev of MediaControllerPlaybackAbilities exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_addPlaylistUpdatedListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_prev_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaylistUpdatedListener_exist" priority="P0" purpose="check if addPlaylistUpdatedListener exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_prev_invalid" priority="P2" purpose="Check MediaControllerPlaybackAbilities throws exception with invalid prev value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_addPlaylistUpdatedListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_prev_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch" priority="P2" purpose="Check if addPlaylistUpdatedListener throws exception when listener is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_prev_TypeMismatch" priority="P2" purpose="Check argument prev conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_prev_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid" priority="P2" purpose="Check if addPlaylistUpdatedListener throws exception when listener is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_rewind_attribute" priority="P1" purpose="Check if attribute rewind of MediaControllerPlaybackAbilities exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_rewind_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaylistUpdatedListener_misarg" priority="P2" purpose="Check if addPlaylistUpdatedListener method called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_rewind_invalid" priority="P2" purpose="Check MediaControllerPlaybackAbilities throws exception with invalid rewind value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_addPlaylistUpdatedListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_rewind_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaylistUpdatedListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo removePlaylistUpdatedListener method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_rewind_TypeMismatch" priority="P2" purpose="Check argument rewind conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_removePlaylistUpdatedListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_rewind_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaylistUpdatedListener_exist" priority="P0" purpose="check if removePlaylistUpdatedListener exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_stop_attribute" priority="P1" purpose="Check if attribute stop of MediaControllerPlaybackAbilities exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_removePlaylistUpdatedListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_stop_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaylistUpdatedListener_misarg" priority="P2" purpose="Check if removePlaylistUpdatedListener method called with missing non-optional argument does not throw any exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_stop_invalid" priority="P2" purpose="Check MediaControllerPlaybackAbilities throws exception with invalid stop value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_removePlaylistUpdatedListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_stop_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_index_attribute" priority="P1" purpose="Check if attribute index of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_stop_TypeMismatch" priority="P2" purpose="Check argument stop conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_index_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_stop_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_playlistName_attribute" priority="P1" purpose="Check if attribute playlistName of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_togglePlayPause_attribute" priority="P1" purpose="Check if attribute togglePlayPause of MediaControllerPlaybackAbilities exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_playlistName_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_togglePlayPause_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerChangeRequestPlaybackInfoCallback_onplaybackitemrequest" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaybackInfoChangeCallback onplaybackitemrequest is called and if its arguments have proper type">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_togglePlayPause_invalid" priority="P2" purpose="Check MediaControllerPlaybackAbilities throws exception with invalid togglePlayPause value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_onplaybackitemrequest.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_togglePlayPause_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase comsponent="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistItem_extend" priority="P3" purpose="Check if MediaControllerPlaylistItem object is extendable">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_togglePlayPause_TypeMismatch" priority="P2" purpose="Check argument togglePlayPause conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistItem_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_togglePlayPause_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistItem_notexist" priority="P3" purpose="Check if interface MediaControllerPlaylistItem exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_saveAbilities" priority="P1" purpose="Check if saveAbilities method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistItem_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_saveAbilities.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistItem_index_attribute" priority="P1" purpose="Check if attribute index of MediaControllerPlaylistItem exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_saveAbilities_exist" priority="P0" purpose="Check if saveAbilities exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistItem_index_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_saveAbilities_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistItem_metadata_attribute" priority="P1" purpose="Check if attribute metadata of MediaControllerPlaylistItem exists, has type object and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_saveAbilities_extra_argument" priority="P2" purpose="Check using MediaControllerPlaybackAbilities::saveAbilitiest() method with extra argument">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistItem_metadata_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_saveAbilities_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_name_attribute" priority="P1" purpose="Check if attribute name of MediaControllerPlaylist exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_extend" priority="P3" purpose="Check if MediaControllerAbilitiesInfo object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_name_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_addItem" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylist addItem method without optional argument works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_notexist" priority="P3" purpose="Check if interface MediaControllerAbilitiesInfo exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_addItem.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_addItem_metadata_empty" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylist addItem method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_playback_attribute" priority="P1" purpose="Check if attribute playback of MediaControllerAbilitiesInfo exists, has type object and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_addItem_metadata_empty.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_playback_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_addItem_exist" priority="P0" purpose="Check if addItem exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_clientCustom_attribute" priority="P1" purpose="Check if attribute clientCustom of MediaControllerAbilitiesInfo exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_addItem_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_clientCustom_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_addItem_misarg" priority="P2" purpose="Check if addItem method called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_playbackPosition_attribute" priority="P1" purpose="Check if attribute playbackPosition of MediaControllerAbilitiesInfo exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_addItem_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_playbackPosition_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_addItem_metadata_TypeMismatch" priority="P2" purpose="Check if addItem throws exception when metadata is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_playlist_attribute" priority="P1" purpose="Check if attribute playlist of MediaControllerAbilitiesInfo exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_addItem_metadata_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_playlist_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_getItems" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylist getItems method without optional argument works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_repeat_attribute" priority="P1" purpose="Check if attribute repeat of MediaControllerAbilitiesInfo exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_repeat_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_getItems_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getItems throws exception when errorCallback is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_search_attribute" priority="P1" purpose="Check if attribute search of MediaControllerAbilitiesInfo exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_search_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_getItems_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getItems throws exception when errorCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_shuffle_attribute" priority="P1" purpose="Check if attribute shuffle of MediaControllerAbilitiesInfo exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_shuffle_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_getItems_exist" priority="P0" purpose="Check if getItems exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_subscribe" priority="P1" purpose="Check if subscribe method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_subscribe.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_getItems_misarg" priority="P2" purpose="Check if getItems method called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_subscribe_exist" priority="P0" purpose="Check if subscribe exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_subscribe_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_getItems_successCallback_TypeMismatch" priority="P2" purpose="Check if getItems throws exception when successCallback is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_subscribe_extra_argument" priority="P2" purpose="Check using MediaControllerAbilitiesInfo::subscribe() method with extra argument">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_subscribe_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_getItems_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getItems throws exception when successCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_subscribe_invalid" priority="P2" purpose="Check if subscribe method throws exception when addAbilityChangeListener is not set">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_subscribe_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylist_getItems_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylist getItems method with all optional arguments works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_unsubscribe" priority="P1" purpose="Check if unsubscribe method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylist_getItems_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_unsubscribe.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerGetAllPlaylistsSuccessCallback_notexist" priority="P3" purpose="Check if interface MediaControllerGetAllPlaylistsSuccessCallback exists, it should not">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_unsubscribe_exist" priority="P0" purpose="Check if unsubscribe exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerGetAllPlaylistsSuccessCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_unsubscribe_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerGetAllPlaylistsSuccessCallback_onsuccess" onload_delay="90" priority="P1" purpose="Check MediaControllerGetAllPlaylistsSuccessCallback onsuccess method">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_unsubscribe_extra_argument" priority="P2" purpose="Check using MediaControllerAbilitiesInfo::unsubscribe() method with extra argument">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerGetAllPlaylistsSuccessCallback_onsuccess.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_unsubscribe_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistUpdatedCallback_notexist" priority="P3" purpose="Check if interface MediaControllerPlaylistUpdatedCallback exists, it should not">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilitiesInfo_extend" priority="P3" purpose="Check if MediaControllerPlaybackAbilitiesInfo object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistUpdatedCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistUpdatedCallback_onplaylistupdated" onload_delay="90" priority="P1" purpose="Check MediaControllerPlaylistUpdatedCallback onplaylistupdated method">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilitiesInfo_notexist" priority="P3" purpose="Check if interface MediaControllerPlaybackAbilitiesInfo exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistUpdatedCallback_onplaylistupdated.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistUpdatedCallback_onplaylistdeleted" onload_delay="90" priority="P1" purpose="Check MediaControllerPlaylistUpdatedCallback onplaylistdeleted method">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilitiesInfo_play_attribute" priority="P1" purpose="Check if attribute play of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistUpdatedCallback_onplaylistdeleted.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_play_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerGetItemsSuccessCallback_notexist" priority="P3" purpose="Check if interface MediaControllerGetItemsSuccessCallback exists, it should not">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilitiesInfo_forward_attribute" priority="P1" purpose="Check if attribute forward of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerGetItemsSuccessCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_forward_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerGetItemsSuccessCallback_onsuccess" onload_delay="90" priority="P1" purpose="Check MediaControllerGetItemsSuccessCallback onsuccess method">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilitiesInfo_next_attribute" priority="P1" purpose="Check if attribute next of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerGetItemsSuccessCallback_onsuccess.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_next_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackContentType" priority="P1" purpose="Check if MediaControllerServer updatePlaybackContentType method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilitiesInfo_pause_attribute" priority="P1" purpose="Check if attribute pause of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackContentType.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_pause_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackContentType_exist" priority="P0" purpose="Check if updatePlaybackContentType exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilitiesInfo_prev_attribute" priority="P1" purpose="Check if attribute prev of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackContentType_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_prev_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackContentType_misarg" priority="P2" purpose="Check if updatePlaybackContentType method called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilitiesInfo_rewind_attribute" priority="P1" purpose="Check if attribute rewind of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackContentType_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_rewind_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch" priority="P2" purpose="Check argument contentType conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilitiesInfo_stop_attribute" priority="P1" purpose="Check if attribute stop of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_stop_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackContentType_contentType_invalid" priority="P2" purpose="Check updatePlaybackState throws type exception with invalid contentType value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilitiesInfo_togglePlayPause_attribute" priority="P1" purpose="Check if attribute togglePlayPause of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updatePlaybackContentType_contentType_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_togglePlayPause_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_contentType_attribute" priority="P1" purpose="Check if attribute contentType of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilityChangeCallback_notexist" priority="P3" purpose="Check if interface MediaControllerAbilityChangeCallback exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_contentType_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilityChangeCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateIconURI" priority="P1" purpose="Check if MediaControllerServer updateIconURI method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilityChangeCallback_onplaybackabilitychanged" onload_delay="30" priority="P1" purpose="Check if MediaControllerAbilityChangeCallback onplaybackabilitychanged is called and if its arguments have proper type">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateIconURI.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilityChangeCallback_onplaybackabilitychanged.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateIconURI_exist" priority="P0" purpose="Check if updateIconURI exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilityChangeCallback_onsimpleabilitychanged" onload_delay="30" priority="P1" purpose="Check if MediaControllerAbilityChangeCallback onsimpleabilitychanged is called and if its arguments have proper type">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_updateIconURI_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilityChangeCallback_onsimpleabilitychanged.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_iconURI_attribute" priority="P1" purpose="Check if attribute iconURI of MediaControllerServer exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_mode360_attribute" priority="P1" purpose="Check if attribute mode360 of MediaControllerServer exists, has type object and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_iconURI_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_mode360_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_iconURI_attribute" priority="P1" purpose="Check if attribute iconURI of MediaControllerServerInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_mode360_attribute" priority="P1" purpose="Check if attribute mode360 of MediaControllerServerInfo exists, has type object and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_iconURI_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_mode360_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="SearchFilter_exist" priority="P1" purpose="Check if SearchFilter exist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_mode360_attribute" priority="P1" purpose="Check if attribute mode360 of MediaControllerAbilities exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_mode360_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="SearchFilter_constructor" priority="P1" purpose="Check if SearchFilter constructor is correct">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_mode360_invalid" priority="P2" purpose="Check MediaControllerAbilities throws exception with invalid mode360 value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_constructor.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_mode360_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="SearchFilter_constructor_min" priority="P1" purpose="Check if SearchFilter constructor is correct without all optional arguments">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_mode360_TypeMismatch" priority="P2" purpose="Check argument mode360 conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_constructor_min.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_mode360_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="RequestReply_exist" priority="P1" purpose="Check if RequestReply exist">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_mode360_attribute" priority="P1" purpose="Check if attribute mode360 of MediaControllerAbilitiesInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/RequestReply_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_mode360_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="RequestReply_constructor" priority="P1" purpose="Check if RequestReply constructor is correct">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360_extend" priority="P3" purpose="Check if MediaControllerMode360 object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/RequestReply_constructor.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="RequestReply_constructor_min" priority="P1" purpose="Check if RequestReply constructor is correct without all optional arguments">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360_notexist" priority="P3" purpose="Check if interface MediaControllerMode360 exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/RequestReply_constructor_min.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="SearchFilter_contentType_TypeMismatch" priority="P2" purpose="Check argument contentType conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360_enabled_attribute" priority="P1" purpose="Check if attribute enabled of MediaControllerMode360 exists, has type boolean">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_contentType_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_enabled_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="SearchFilter_category_TypeMismatch" priority="P2" purpose="Check argument category conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360_addChangeRequestListener" onload_delay="90" priority="P1" purpose="Check if addChangeRequestListener() works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_category_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_addChangeRequestListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="SearchFilter_category_invalid" priority="P2" purpose="Check SearchFilter throws exception with invalid category value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360_addChangeRequestListener_exist" priority="P0" purpose="Check if method addChangeRequestListener of MediaControllerMode360 exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_category_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_addChangeRequestListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="SearchFilter_keyword_invalid" priority="P2" purpose="Check SearchFilter throws exception with invalid keyword value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360_addChangeRequestListener_listener_TypeMismatch" priority="P2" purpose="Check argument listener conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/SearchFilter_keyword_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_addChangeRequestListener_listener_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendSearchRequest" priority="P1" purpose="Check if sendSearchRequest() works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360_addChangeRequestListener_listener_invalid" priority="P2" purpose="Check if addChangeRequestListener throws exception when callback is inavlid listener">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_addChangeRequestListener_listener_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendSearchRequest_errorCallback_TypeMismatch" onload_delay="90" priority="P2" purpose="Check argument sendSearchRequest conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360_addChangeRequestListener_misarg" priority="P2" purpose="Check if addChangeRequestListener method of MediaControllerMode360 called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_addChangeRequestListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendSearchRequest_errorCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if sendSearchRequest throws exception when errorCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360_removeChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerMode360 removeChangeRequestListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_removeChangeRequestListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendSearchRequest_exist" priority="P0" purpose="Check if method sendSearchRequest of MediaControllerServerInfo exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360_removeChangeRequestListener_exist" priority="P0" purpose="check if removeChangeRequestListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_removeChangeRequestListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendSearchRequest_request_TypeMismatch" priority="P2" purpose="Check argument request conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360_removeChangeRequestListener_misarg" priority="P2" purpose="Check if removeChangeRequestListener method called with missing non-optional argument does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_request_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_removeChangeRequestListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendSearchRequest_request_invalid" priority="P2" purpose="Check if sendSearchRequest throws invalid error when request objects greater then 20">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_extend" priority="P3" purpose="Check if MediaControllerMode360Info object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_request_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendSearchRequest_successCallback_TypeMismatch" priority="P2" purpose="Check argument replyCallback conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_notexist" priority="P3" purpose="Check if interface MediaControllerMode360Info exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_replyCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendSearchRequest_replyCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if sendSearchRequest throws exception when replyCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_enabled_attribute" priority="P1" purpose="Check if attribute enabled of MediaControllerMode360Info exists, has type boolean and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_replyCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_enabled_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendSearchRequest_with_errorCallback" onload_delay="90" priority="P1" purpose="Check if sendSearchRequest method works properly with errorCallback argument">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_addModeChangeListener" onload_delay="90" priority="P1" purpose="Check if addModeChangeListener() works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendSearchRequest_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_addModeChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_setSearchRequestListener" priority="P1" purpose="Check if MediaControllerServer setSearchRequestListener method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_addModeChangeListener_exist" priority="P0" purpose="Check if method addModeChangeListener of MediaControllerMode360Info exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_setSearchRequestListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_addModeChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_setSearchRequestListener_exist" priority="P0" purpose="check if setSearchRequestListener exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_addModeChangeListener_listener_TypeMismatch" priority="P2" purpose="Check argument listener conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_setSearchRequestListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_addModeChangeListener_listener_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_setSearchRequestListener_listener_TypeMismatch" priority="P2" purpose="Check if setSearchRequestListener throws exception when listener is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_addModeChangeListener_listener_invalid" priority="P2" purpose="Check if addModeChangeListener throws exception when callback is inavlid listener">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_setSearchRequestListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_addModeChangeListener_listener_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_setSearchRequestListener_listener_invalid" priority="P2" purpose="Check if setSearchRequestListener throws exception when listener is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_addModeChangeListener_misarg" priority="P2" purpose="Check if addModeChangeListener method of MediaControllerMode360Info called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_setSearchRequestListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_addModeChangeListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_setSearchRequestListener_misarg" priority="P2" purpose="Check if setSearchRequestListener method called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_removeModeChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerMode360Info removeModeChangeListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_setSearchRequestListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_removeModeChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_unsetSearchRequestListener" priority="P1" purpose="Check if MediaControllerServer unsetSearchRequestListener method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_removeModeChangeListener_exist" priority="P0" purpose="check if removeModeChangeListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_unsetSearchRequestListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_removeModeChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_unsetSearchRequestListener_exist" priority="P0" purpose="check if unsetSearchRequestListener exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_removeModeChangeListener_misarg" priority="P2" purpose="Check if removeModeChangeListener method called with missing non-optional argument does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_unsetSearchRequestListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_removeModeChangeListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_unsetSearchRequestListener_extra_argument" priority="P1" purpose="Check using unsetSearchRequestListener method with extra argument">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_sendRequest" onload_delay="90" priority="P1" purpose="Check if sendRequest() works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_unsetSearchRequestListener_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_sendRequest.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSearchRequestReplyCallback_notexist" priority="P3" purpose="Check if interface MediaControllerSearchRequestReplyCallback exists, it should not">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_sendRequest_exist" priority="P0" purpose="Check if method sendRequest of MediaControllerMode360Info exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSearchRequestReplyCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_sendRequest_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSearchRequestReplyCallback_onreply" priority="P1" purpose="Check MediaControllerSearchRequestReplyCallback onreply method">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_sendRequest_replyCallback_TypeMismatch" priority="P2" purpose="Check argument replyCallback conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSearchRequestReplyCallback_onreply.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_sendRequest_replyCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSearchRequestCallback_notexist" priority="P3" purpose="Check if interface MediaControllerSearchRequestCallback exists, it should not">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_sendRequest_replyCallback_invalid_cb" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is inavlid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSearchRequestCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_sendRequest_replyCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSearchRequestCallback_onrequest" priority="P1" purpose="Check MediaControllerSearchRequestCallback onrequest method">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_sendRequest_misarg" priority="P2" purpose="Check if sendRequest method of MediaControllerMode360Info called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSearchRequestCallback_onrequest.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_sendRequest_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_abilities_attribute" priority="P1" purpose="Check if attribute abilities of MediaControllerServer exists, has type object and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerEnabledChangeCallback_notexist" priority="P3" purpose="Check if interface MediaControllerEnabledChangeCallback exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_abilities_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerEnabledChangeCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_findSubscribedServers" onload_delay="90" priority="P1" purpose="Check if findSubscribedServers() works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerEnabledChangeCallback_onchange" onload_delay="30" priority="P1" purpose="Check if MediaControllerEnabledChangeCallback onchange is called and if its arguments have proper type">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerEnabledChangeCallback_onchange.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_findSubscribedServers_errorCallback_TypeMismatch" onload_delay="90" priority="P2" purpose="Check argument errorCallback conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerEnabledChangeRequestCallback_notexist" priority="P3" purpose="Check if interface MediaControllerEnabledChangeRequestCallback exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerEnabledChangeRequestCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_findSubscribedServers_errorCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if findSubscribedServers throws exception when errorCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerEnabledChangeRequestCallback_onreply" onload_delay="30" priority="P1" purpose="Check if MediaControllerEnabledChangeRequestCallback onchange is called and if its arguments have proper type">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerEnabledChangeRequestCallback_onreply.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_findSubscribedServers_exist" priority="P0" purpose="Check if method findSubscribedServers of MediaControllerClient exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_subtitles_attribute" priority="P1" purpose="Check if attribute subtitles of MediaControllerServer exists, has type object and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_subtitles_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_findSubscribedServers_misarg" priority="P2" purpose="Check if findSubscribedServers method of MediaControllerClient called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_subtitles_attribute" priority="P1" purpose="Check if attribute subtitles of MediaControllerServerInfo exists, has type object and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_subtitles_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_findSubscribedServers_successCallback_TypeMismatch" priority="P2" purpose="Check argument successCallback conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_subtitles_attribute" priority="P1" purpose="Check if attribute subtitles of MediaControllerAbilities exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_subtitles_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_findSubscribedServers_successCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if findSubscribedServers throws exception when successCallback is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_subtitles_invalid" priority="P2" purpose="Check MediaControllerAbilities throws exception with invalid subtitles value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_subtitles_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_findSubscribedServers_with_errorCallback" onload_delay="90" priority="P1" purpose="Check if findSubscribedServers method works properly with errorCallback argument">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_subtitles_TypeMismatch" priority="P2" purpose="Check argument subtitles conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_findSubscribedServers_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_subtitles_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_addAbilityChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerClient addAbilityChangeListener method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_subtitles_attribute" priority="P1" purpose="Check if attribute subtitles of MediaControllerAbilitiesInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_addAbilityChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_subtitles_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_addAbilityChangeListener_exist" priority="P0" purpose="check if addAbilityChangeListener exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitles_extend" priority="P3" purpose="Check if MediaControllersubtitles object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_addAbilityChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_addAbilityChangeListener_listener_TypeMismatch" priority="P2" purpose="Check if addAbilityChangeListener throws exception when listener is incorrect">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitles_notexist" priority="P3" purpose="Check if interface MediaControllersubtitles exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_addAbilityChangeListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_addAbilityChangeListener_listener_invalid" priority="P2" purpose="Check if addAbilityChangeListener throws exception when listener is invalid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitles_enabled_attribute" priority="P1" purpose="Check if attribute enabled of MediaControllersubtitles exists, has type boolean">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_addAbilityChangeListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_enabled_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_addAbilityChangeListener_misarg" priority="P2" purpose="Check if addAbilityChangeListener method called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitles_addChangeRequestListener" onload_delay="90" priority="P1" purpose="Check if addChangeRequestListener() works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_addAbilityChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_addChangeRequestListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_removeAbilityChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerClient removeAbilityChangeListener method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitles_addChangeRequestListener_exist" priority="P0" purpose="Check if method addChangeRequestListener of MediaControllersubtitles exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_removeAbilityChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_addChangeRequestListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_removeAbilityChangeListener_exist" priority="P0" purpose="check if removeAbilityChangeListener exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitles_addChangeRequestListener_listener_TypeMismatch" priority="P2" purpose="Check argument listener conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_removeAbilityChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_addChangeRequestListener_listener_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerClient_removeAbilityChangeListener_misarg" priority="P2" purpose="Check if removeAbilityChangeListener method called with missing non-optional argument does not throw any exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitles_addChangeRequestListener_listener_invalid" priority="P2" purpose="Check if addChangeRequestListener throws exception when callback is inavlid listener">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_removeAbilityChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_addChangeRequestListener_listener_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_abilities_attribute" priority="P1" purpose="Check if attribute abilities of MediaControllerServerInfo exists, has type object and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitles_addChangeRequestListener_misarg" priority="P2" purpose="Check if addChangeRequestListener method of MediaControllersubtitles called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_abilities_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_addChangeRequestListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_extend" priority="P3" purpose="Check if MediaControllerAbilities object is extendable">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitles_removeChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllersubtitles removeChangeRequestListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_removeChangeRequestListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_notexist" priority="P3" purpose="Check if interface MediaControllerAbilities exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitles_removeChangeRequestListener_exist" priority="P0" purpose="check if removeChangeRequestListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_removeChangeRequestListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_playback_attribute" priority="P1" purpose="Check if attribute playback of MediaControllerAbilities exists, has type object and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitles_removeChangeRequestListener_misarg" priority="P2" purpose="Check if removeChangeRequestListener method called with missing non-optional argument does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playback_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_removeChangeRequestListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_clientCustom_attribute" priority="P1" purpose="Check if attribute clientCustom of MediaControllerAbilities exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitlesInfo_extend" priority="P3" purpose="Check if MediaControllerSubtitlesInfo object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_clientCustom_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_clientCustom_invalid" priority="P2" purpose="Check MediaControllerAbilities throws exception with invalid clientCustom value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitlesInfo_notexist" priority="P3" purpose="Check if interface MediaControllerSubtitlesInfo exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_clientCustom_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_clientCustom_TypeMismatch" priority="P2" purpose="Check argument clientCustom conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitlesInfo_enabled_attribute" priority="P1" purpose="Check if attribute enabled of MediaControllerSubtitlesInfo exists, has type boolean and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_clientCustom_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_enabled_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_playbackPosition_attribute" priority="P1" purpose="Check if attribute playbackPosition of MediaControllerAbilities exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitlesInfo_addModeChangeListener" onload_delay="90" priority="P1" purpose="Check if addModeChangeListener() works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playbackPosition_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_addModeChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_playbackPosition_invalid" priority="P2" purpose="Check MediaControllerAbilities throws exception with invalid playbackPosition value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitlesInfo_addModeChangeListener_exist" priority="P0" purpose="Check if method addModeChangeListener of MediaControllerSubtitlesInfo exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playbackPosition_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_addModeChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_playbackPosition_TypeMismatch" priority="P2" purpose="Check argument playbackPosition conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitlesInfo_addModeChangeListener_listener_TypeMismatch" priority="P2" purpose="Check argument listener conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playbackPosition_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_addModeChangeListener_listener_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_playlist_attribute" priority="P1" purpose="Check if attribute playlist of MediaControllerAbilities exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitlesInfo_addModeChangeListener_listener_invalid" priority="P2" purpose="Check if addModeChangeListener throws exception when callback is inavlid listener">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playlist_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_addModeChangeListener_listener_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_playlist_invalid" priority="P2" purpose="Check MediaControllerAbilities throws exception with invalid playlist value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitlesInfo_addModeChangeListener_misarg" priority="P2" purpose="Check if addModeChangeListener method of MediaControllerSubtitlesInfo called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playlist_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_addModeChangeListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_playlist_TypeMismatch" onload_delay="90" priority="P2" purpose="Check argument playlist conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitlesInfo_removeModeChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerSubtitlesInfo removeModeChangeListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_playlist_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_removeModeChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_repeat_attribute" priority="P1" purpose="Check if attribute repeat of MediaControllerAbilities exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitlesInfo_removeModeChangeListener_exist" priority="P0" purpose="check if removeModeChangeListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_repeat_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_removeModeChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_repeat_invalid" priority="P2" purpose="Check MediaControllerAbilities throws exception with invalid repeat value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitlesInfo_removeModeChangeListener_misarg" priority="P2" purpose="Check if removeModeChangeListener method called with missing non-optional argument does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_repeat_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_removeModeChangeListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_repeat_TypeMismatch" priority="P2" purpose="Check argument repeat conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitlesInfo_sendRequest" onload_delay="90" priority="P1" purpose="Check if sendRequest() works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_repeat_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_sendRequest.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_search_attribute" priority="P1" purpose="Check if attribute search of MediaControllerAbilities exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitlesInfo_sendRequest_exist" priority="P0" purpose="Check if method sendRequest of MediaControllerSubtitlesInfo exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_search_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_sendRequest_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_search_invalid" priority="P2" purpose="Check MediaControllerAbilities throws exception with invalid search value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitlesInfo_sendRequest_replyCallback_TypeMismatch" priority="P2" purpose="Check argument replyCallback conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_search_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_sendRequest_replyCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_search_TypeMismatch" priority="P2" purpose="Check argument search conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitlesInfo_sendRequest_replyCallback_invalid_cb" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is inavlid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_search_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_sendRequest_replyCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_shuffle_attribute" priority="P1" purpose="Check if attribute shuffle of MediaControllerAbilities exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitlesInfo_sendRequest_misarg" priority="P2" purpose="Check if sendRequest method of MediaControllerSubtitlesInfo called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_shuffle_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_sendRequest_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_shuffle_invalid" priority="P2" purpose="Check MediaControllerAbilities throws exception with invalid shuffle value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeChangeCallback_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayModeChangeCallback exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_shuffle_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeChangeCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_shuffle_TypeMismatch" priority="P2" purpose="Check argument shuffle conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeChangeCallback_onchange" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayModeChangeCallback onchange is called and if its arguments have proper type">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_shuffle_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeChangeCallback_onchange.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_extend" priority="P3" purpose="Check if MediaControllerPlaybackAbilities object is extendable">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeChangeRequestCallback_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayModeChangeRequestCallback exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeChangeRequestCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_notexist" priority="P3" purpose="Check if interface MediaControllerPlaybackAbilities exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeChangeRequestCallback_onreply" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayModeChangeRequestCallback onchange is called and if its arguments have proper type">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeChangeRequestCallback_onreply.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_play_attribute" priority="P1" purpose="Check if attribute play of MediaControllerPlaybackAbilities exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_displayMode_attribute" priority="P1" purpose="Check if attribute displayMode of MediaControllerServer exists, has type object and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_play_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_displayMode_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_play_invalid" priority="P2" purpose="Check MediaControllerPlaybackAbilities throws exception with invalid play value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_displayMode_attribute" priority="P1" purpose="Check if attribute displayMode of MediaControllerServerInfo exists, has type object and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_play_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_displayMode_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_play_TypeMismatch" priority="P2" purpose="Check argument play conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayMode_extend" priority="P3" purpose="Check if MediaControllerDisplayMode object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_play_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_forward_attribute" priority="P1" purpose="Check if attribute forward of MediaControllerPlaybackAbilities exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayMode_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayMode exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_forward_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_forward_invalid" priority="P2" purpose="Check MediaControllerPlaybackAbilities throws exception with invalid forward value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayMode_type_attribute" priority="P1" purpose="Check if attribute type of MediaControllerDisplayMode exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_forward_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_type_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_forward_TypeMismatch" priority="P2" purpose="Check argument forward conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayMode_addChangeRequestListener" onload_delay="90" priority="P1" purpose="Check if addChangeRequestListener() works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_forward_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_addChangeRequestListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_next_attribute" priority="P1" purpose="Check if attribute next of MediaControllerPlaybackAbilities exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayMode_addChangeRequestListener_exist" priority="P0" purpose="Check if method addChangeRequestListener of MediaControllerDisplayMode exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_next_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_addChangeRequestListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_next_invalid" priority="P2" purpose="Check MediaControllerPlaybackAbilities throws exception with invalid next value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayMode_addChangeRequestListener_listener_TypeMismatch" priority="P2" purpose="Check argument listener conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_next_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_addChangeRequestListener_listener_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_next_TypeMismatch" priority="P2" purpose="Check argument next conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayMode_addChangeRequestListener_listener_invalid" priority="P2" purpose="Check if addChangeRequestListener throws exception when callback is inavlid listener">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_next_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_addChangeRequestListener_listener_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_pause_attribute" priority="P1" purpose="Check if attribute pause of MediaControllerPlaybackAbilities exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayMode_addChangeRequestListener_misarg" priority="P2" purpose="Check if addChangeRequestListener method of MediaControllerDisplayMode called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_pause_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_addChangeRequestListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_pause_invalid" priority="P2" purpose="Check MediaControllerPlaybackAbilities throws exception with invalid pause value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayMode_removeChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayMode removeChangeRequestListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_pause_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_removeChangeRequestListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_pause_TypeMismatch" priority="P2" purpose="Check argument pause conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayMode_removeChangeRequestListener_exist" priority="P0" purpose="check if removeChangeRequestListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_pause_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_removeChangeRequestListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_prev_attribute" priority="P1" purpose="Check if attribute prev of MediaControllerPlaybackAbilities exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayMode_removeChangeRequestListener_misarg" priority="P2" purpose="Check if removeChangeRequestListener method called with missing non-optional argument does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_prev_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_removeChangeRequestListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_prev_invalid" priority="P2" purpose="Check MediaControllerPlaybackAbilities throws exception with invalid prev value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_extend" priority="P3" purpose="Check if MediaControllerDisplayModeInfo object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_prev_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_prev_TypeMismatch" priority="P2" purpose="Check argument prev conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayModeInfo exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_prev_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_rewind_attribute" priority="P1" purpose="Check if attribute rewind of MediaControllerPlaybackAbilities exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_type_attribute" priority="P1" purpose="Check if attribute type of MediaControllerDisplayModeInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_rewind_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_type_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_rewind_invalid" priority="P2" purpose="Check MediaControllerPlaybackAbilities throws exception with invalid rewind value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_addModeChangeListener" onload_delay="90" priority="P1" purpose="Check if addModeChangeListener() works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_rewind_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_addModeChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_rewind_TypeMismatch" priority="P2" purpose="Check argument rewind conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_addModeChangeListener_exist" priority="P0" purpose="Check if method addModeChangeListener of MediaControllerDisplayModeInfo exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_rewind_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_addModeChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_stop_attribute" priority="P1" purpose="Check if attribute stop of MediaControllerPlaybackAbilities exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_addModeChangeListener_listener_TypeMismatch" priority="P2" purpose="Check argument listener conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_stop_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_addModeChangeListener_listener_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_stop_invalid" priority="P2" purpose="Check MediaControllerPlaybackAbilities throws exception with invalid stop value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_addModeChangeListener_listener_invalid" priority="P2" purpose="Check if addModeChangeListener throws exception when callback is inavlid listener">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_stop_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_addModeChangeListener_listener_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_stop_TypeMismatch" priority="P2" purpose="Check argument stop conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_addModeChangeListener_misarg" priority="P2" purpose="Check if addModeChangeListener method of MediaControllerDisplayModeInfo called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_stop_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_addModeChangeListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_togglePlayPause_attribute" priority="P1" purpose="Check if attribute togglePlayPause of MediaControllerPlaybackAbilities exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_removeModeChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayModeInfo removeModeChangeListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_togglePlayPause_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_removeModeChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_togglePlayPause_invalid" priority="P2" purpose="Check MediaControllerPlaybackAbilities throws exception with invalid togglePlayPause value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_removeModeChangeListener_exist" priority="P0" purpose="check if removeModeChangeListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_togglePlayPause_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_removeModeChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_togglePlayPause_TypeMismatch" priority="P2" purpose="Check argument togglePlayPause conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_removeModeChangeListener_misarg" priority="P2" purpose="Check if removeModeChangeListener method called with missing non-optional argument does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_togglePlayPause_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_removeModeChangeListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_saveAbilities" priority="P1" purpose="Check if saveAbilities method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_sendRequest" onload_delay="90" priority="P1" purpose="Check if sendRequest() works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_saveAbilities.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_sendRequest.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_saveAbilities_exist" priority="P0" purpose="Check if saveAbilities exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_sendRequest_exist" priority="P0" purpose="Check if method sendRequest of MediaControllerDisplayModeInfo exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_saveAbilities_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_sendRequest_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilities_saveAbilities_extra_argument" priority="P2" purpose="Check using MediaControllerPlaybackAbilities::saveAbilitiest() method with extra argument">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_sendRequest_replyCallback_TypeMismatch" priority="P2" purpose="Check argument replyCallback conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilities_saveAbilities_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_sendRequest_replyCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_extend" priority="P3" purpose="Check if MediaControllerAbilitiesInfo object is extendable">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_sendRequest_replyCallback_invalid_cb" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is inavlid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_sendRequest_replyCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_notexist" priority="P3" purpose="Check if interface MediaControllerAbilitiesInfo exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_sendRequest_misarg" priority="P2" purpose="Check if sendRequest method of MediaControllerDisplayModeInfo called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_sendRequest_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_playback_attribute" priority="P1" purpose="Check if attribute playback of MediaControllerAbilitiesInfo exists, has type object and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationChangeCallback_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayRotationChangeCallback exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_playback_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationChangeCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_clientCustom_attribute" priority="P1" purpose="Check if attribute clientCustom of MediaControllerAbilitiesInfo exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationChangeCallback_onchange" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayRotationChangeCallback onchange is called and if its arguments have proper type">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_clientCustom_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationChangeCallback_onchange.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_playbackPosition_attribute" priority="P1" purpose="Check if attribute playbackPosition of MediaControllerAbilitiesInfo exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationChangeRequestCallback_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayRotationChangeRequestCallback exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_playbackPosition_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationChangeRequestCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_playlist_attribute" priority="P1" purpose="Check if attribute playlist of MediaControllerAbilitiesInfo exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationChangeRequestCallback_onreply" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayRotationChangeRequestCallback onchange is called and if its arguments have proper type">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_playlist_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationChangeRequestCallback_onreply.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_repeat_attribute" priority="P1" purpose="Check if attribute repeat of MediaControllerAbilitiesInfo exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_displayRotation_attribute" priority="P1" purpose="Check if attribute displayRotation of MediaControllerServer exists, has type object and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_repeat_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_displayRotation_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_search_attribute" priority="P1" purpose="Check if attribute search of MediaControllerAbilitiesInfo exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_displayRotation_attribute" priority="P1" purpose="Check if attribute displayRotation of MediaControllerServerInfo exists, has type object and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_search_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_displayRotation_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_shuffle_attribute" priority="P1" purpose="Check if attribute shuffle of MediaControllerAbilitiesInfo exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_extend" priority="P3" purpose="Check if MediaControllerDisplayRotation object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_shuffle_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_subscribe" priority="P1" purpose="Check if subscribe method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayRotation exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_subscribe.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_subscribe_exist" priority="P0" purpose="Check if subscribe exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_displayRotation_attribute" priority="P1" purpose="Check if attribute displayRotation of MediaControllerDisplayRotation exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_subscribe_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_displayRotation_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_subscribe_extra_argument" priority="P2" purpose="Check using MediaControllerAbilitiesInfo::subscribe() method with extra argument">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_displayRotation_TypeMismatch" priority="P2" purpose="Check argument displayRotation conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_subscribe_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_displayRotation_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_subscribe_invalid" priority="P2" purpose="Check if subscribe method throws exception when addAbilityChangeListener is not set">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_addChangeRequestListener" onload_delay="90" priority="P1" purpose="Check if addChangeRequestListener() works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_subscribe_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_addChangeRequestListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_unsubscribe" priority="P1" purpose="Check if unsubscribe method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_addChangeRequestListener_exist" priority="P0" purpose="Check if method addChangeRequestListener of MediaControllerDisplayRotation exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_unsubscribe.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_addChangeRequestListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_unsubscribe_exist" priority="P0" purpose="Check if unsubscribe exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_addChangeRequestListener_listener_TypeMismatch" priority="P2" purpose="Check argument listener conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_unsubscribe_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_addChangeRequestListener_listener_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_unsubscribe_extra_argument" priority="P2" purpose="Check using MediaControllerAbilitiesInfo::unsubscribe() method with extra argument">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_addChangeRequestListener_listener_invalid" priority="P2" purpose="Check if addChangeRequestListener throws exception when callback is inavlid listener">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_unsubscribe_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_addChangeRequestListener_listener_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilitiesInfo_extend" priority="P3" purpose="Check if MediaControllerPlaybackAbilitiesInfo object is extendable">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_addChangeRequestListener_misarg" priority="P2" purpose="Check if addChangeRequestListener method of MediaControllerDisplayRotation called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_addChangeRequestListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilitiesInfo_notexist" priority="P3" purpose="Check if interface MediaControllerPlaybackAbilitiesInfo exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_removeChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayRotation removeChangeRequestListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_removeChangeRequestListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilitiesInfo_play_attribute" priority="P1" purpose="Check if attribute play of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_removeChangeRequestListener_exist" priority="P0" purpose="check if removeChangeRequestListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_play_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_removeChangeRequestListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilitiesInfo_forward_attribute" priority="P1" purpose="Check if attribute forward of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_removeChangeRequestListener_misarg" priority="P2" purpose="Check if removeChangeRequestListener method called with missing non-optional argument does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_forward_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_removeChangeRequestListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilitiesInfo_next_attribute" priority="P1" purpose="Check if attribute next of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_extend" priority="P3" purpose="Check if MediaControllerDisplayRotationInfo object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_next_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilitiesInfo_pause_attribute" priority="P1" purpose="Check if attribute pause of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayRotationInfo exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_pause_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilitiesInfo_prev_attribute" priority="P1" purpose="Check if attribute prev of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_displayRotation_attribute" priority="P1" purpose="Check if attribute displayRotation of MediaControllerDisplayRotationInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_prev_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_displayRotation_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilitiesInfo_rewind_attribute" priority="P1" purpose="Check if attribute rewind of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener" onload_delay="90" priority="P1" purpose="Check if addDisplayRotationChangeListener() works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_rewind_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilitiesInfo_stop_attribute" priority="P1" purpose="Check if attribute stop of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_exist" priority="P0" purpose="Check if method addDisplayRotationChangeListener of MediaControllerDisplayRotationInfo exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_stop_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackAbilitiesInfo_togglePlayPause_attribute" priority="P1" purpose="Check if attribute togglePlayPause of MediaControllerPlaybackAbilitiesInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_listener_TypeMismatch" priority="P2" purpose="Check argument listener conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackAbilitiesInfo_togglePlayPause_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_listener_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilityChangeCallback_notexist" priority="P3" purpose="Check if interface MediaControllerAbilityChangeCallback exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_listener_invalid" priority="P2" purpose="Check if addDisplayRotationChangeListener throws exception when callback is inavlid listener">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilityChangeCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_listener_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilityChangeCallback_onplaybackabilitychanged" onload_delay="30" priority="P1" purpose="Check if MediaControllerAbilityChangeCallback onplaybackabilitychanged is called and if its arguments have proper type">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_misarg" priority="P2" purpose="Check if addDisplayRotationChangeListener method of MediaControllerDisplayRotationInfo called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilityChangeCallback_onplaybackabilitychanged.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilityChangeCallback_onsimpleabilitychanged" onload_delay="30" priority="P1" purpose="Check if MediaControllerAbilityChangeCallback onsimpleabilitychanged is called and if its arguments have proper type">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayRotationInfo removeDisplayRotationChangeListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilityChangeCallback_onsimpleabilitychanged.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_mode360_attribute" priority="P1" purpose="Check if attribute mode360 of MediaControllerServer exists, has type object and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener_exist" priority="P0" purpose="check if removeDisplayRotationChangeListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_mode360_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_mode360_attribute" priority="P1" purpose="Check if attribute mode360 of MediaControllerServerInfo exists, has type object and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener_misarg" priority="P2" purpose="Check if removeDisplayRotationChangeListener method called with missing non-optional argument does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_mode360_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_mode360_attribute" priority="P1" purpose="Check if attribute mode360 of MediaControllerAbilities exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_sendRequest" onload_delay="90" priority="P1" purpose="Check if sendRequest() works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_mode360_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_sendRequest.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_mode360_invalid" priority="P2" purpose="Check MediaControllerAbilities throws exception with invalid mode360 value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_sendRequest_exist" priority="P0" purpose="Check if method sendRequest of MediaControllerDisplayRotationInfo exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_mode360_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_sendRequest_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_mode360_TypeMismatch" priority="P2" purpose="Check argument mode360 conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_sendRequest_replyCallback_TypeMismatch" priority="P2" purpose="Check argument replyCallback conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_mode360_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_sendRequest_replyCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_mode360_attribute" priority="P1" purpose="Check if attribute mode360 of MediaControllerAbilitiesInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_sendRequest_replyCallback_invalid_cb" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is inavlid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_mode360_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_sendRequest_replyCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360_extend" priority="P3" purpose="Check if MediaControllerMode360 object is extendable">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_sendRequest_misarg" priority="P2" purpose="Check if sendRequest method of MediaControllerDisplayRotationInfo called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_sendRequest_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360_notexist" priority="P3" purpose="Check if interface MediaControllerMode360 exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilityChangeCallback_ondisplaymodeabilitychanged" onload_delay="30" priority="P1" purpose="Check if MediaControllerAbilityChangeCallback ondisplaymodeabilitychanged is called and if its arguments have proper type">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilityChangeCallback_ondisplaymodeabilitychanged.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360_enabled_attribute" priority="P1" purpose="Check if attribute enabled of MediaControllerMode360 exists, has type boolean">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_displayMode_attribute" priority="P1" purpose="Check if attribute displayMode of MediaControllerAbilities exists, has type object and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_enabled_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_displayMode_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360_addChangeRequestListener" onload_delay="90" priority="P1" purpose="Check if addChangeRequestListener() works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_displayMode_attribute" priority="P1" purpose="Check if attribute displayMode of MediaControllerAbilitiesInfo exists, has type object and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_addChangeRequestListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_displayMode_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360_addChangeRequestListener_exist" priority="P0" purpose="Check if method addChangeRequestListener of MediaControllerMode360 exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_extend" priority="P3" purpose="Check if MediaControllerDisplayModeAbilities object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_addChangeRequestListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360_addChangeRequestListener_listener_TypeMismatch" priority="P2" purpose="Check argument listener conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayModeAbilities exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_addChangeRequestListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360_addChangeRequestListener_listener_invalid" priority="P2" purpose="Check if addChangeRequestListener throws exception when callback is inavlid listener">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_letterBox_attribute" priority="P1" purpose="Check if attribute letterBox of MediaControllerDisplayModeAbilities exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_addChangeRequestListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_letterBox_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_letterBox_invalid" priority="P2" purpose="Check MediaControllerDisplayModeAbilities throws exception with invalid letterBox value">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_letterBox_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_letterBox_TypeMismatch" priority="P2" purpose="Check argument letterBox conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_letterBox_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_originSize_attribute" priority="P1" purpose="Check if attribute originSize of MediaControllerDisplayModeAbilities exists, has type string">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_originSize_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_originSize_invalid" priority="P2" purpose="Check MediaControllerDisplayModeAbilities throws exception with invalid originSize value">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_originSize_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_originSize_TypeMismatch" priority="P2" purpose="Check argument originSize conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_originSize_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_fullScreen_attribute" priority="P1" purpose="Check if attribute fullScreen of MediaControllerDisplayModeAbilities exists, has type string">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_fullScreen_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_fullScreen_invalid" priority="P2" purpose="Check MediaControllerDisplayModeAbilities throws exception with invalid fullScreen value">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_fullScreen_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_fullScreen_TypeMismatch" priority="P2" purpose="Check argument fullScreen conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_fullScreen_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_croppedFull_attribute" priority="P1" purpose="Check if attribute croppedFull of MediaControllerDisplayModeAbilities exists, has type string">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_croppedFull_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_croppedFull_invalid" priority="P2" purpose="Check MediaControllerDisplayModeAbilities throws exception with invalid croppedFull value">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_croppedFull_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360_addChangeRequestListener_misarg" priority="P2" purpose="Check if addChangeRequestListener method of MediaControllerMode360 called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_croppedFull_TypeMismatch" priority="P2" purpose="Check argument croppedFull conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_addChangeRequestListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_croppedFull_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360_removeChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerMode360 removeChangeRequestListener method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilitiesInfo_extend" priority="P3" purpose="Check if MediaControllerDisplayModeAbilitiesInfo object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_removeChangeRequestListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilitiesInfo_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360_removeChangeRequestListener_exist" priority="P0" purpose="check if removeChangeRequestListener exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilitiesInfo_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayModeAbilitiesInfo exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_removeChangeRequestListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilitiesInfo_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360_removeChangeRequestListener_misarg" priority="P2" purpose="Check if removeChangeRequestListener method called with missing non-optional argument does not throw any exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilitiesInfo_letterBox_attribute" priority="P1" purpose="Check if attribute letterBox of MediaControllerDisplayModeAbilitiesInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360_removeChangeRequestListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilitiesInfo_letterBox_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_extend" priority="P3" purpose="Check if MediaControllerMode360Info object is extendable">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilitiesInfo_originSize_attribute" priority="P1" purpose="Check if attribute originSize of MediaControllerDisplayModeAbilitiesInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilitiesInfo_originSize_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_notexist" priority="P3" purpose="Check if interface MediaControllerMode360Info exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilitiesInfo_fullScreen_attribute" priority="P1" purpose="Check if attribute fullScreen of MediaControllerDisplayModeAbilitiesInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilitiesInfo_fullScreen_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_enabled_attribute" priority="P1" purpose="Check if attribute enabled of MediaControllerMode360Info exists, has type boolean and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilitiesInfo_croppedFull_attribute" priority="P1" purpose="Check if attribute croppedFull of MediaControllerDisplayModeAbilitiesInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_enabled_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilitiesInfo_croppedFull_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_addModeChangeListener" onload_delay="90" priority="P1" purpose="Check if addModeChangeListener() works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilityChangeCallback_ondisplayrotationabilitychanged" onload_delay="30" priority="P1" purpose="Check if MediaControllerAbilityChangeCallback ondisplayrotationabilitychanged is called and if its arguments have proper type">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_addModeChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilityChangeCallback_ondisplayrotationabilitychanged.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_addModeChangeListener_exist" priority="P0" purpose="Check if method addModeChangeListener of MediaControllerMode360Info exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_displayRotation_attribute" priority="P1" purpose="Check if attribute displayRotation of MediaControllerAbilities exists, has type object and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_addModeChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_displayRotation_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_addModeChangeListener_listener_TypeMismatch" priority="P2" purpose="Check argument listener conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_displayRotation_attribute" priority="P1" purpose="Check if attribute displayRotation of MediaControllerAbilitiesInfo exists, has type object and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_addModeChangeListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_displayRotation_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_addModeChangeListener_listener_invalid" priority="P2" purpose="Check if addModeChangeListener throws exception when callback is inavlid listener">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_extend" priority="P3" purpose="Check if MediaControllerDisplayRotationAbilities object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_addModeChangeListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_addModeChangeListener_misarg" priority="P2" purpose="Check if addModeChangeListener method of MediaControllerMode360Info called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayRotationAbilities exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_addModeChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_removeModeChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerMode360Info removeModeChangeListener method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotationNone_attribute" priority="P1" purpose="Check if attribute rotationNone of MediaControllerDisplayRotationAbilities exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_removeModeChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotationNone_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_removeModeChangeListener_exist" priority="P0" purpose="check if removeModeChangeListener exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotationNone_invalid" priority="P2" purpose="Check MediaControllerDisplayRotationAbilities throws exception with invalid rotationNone value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_removeModeChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotationNone_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_removeModeChangeListener_misarg" priority="P2" purpose="Check if removeModeChangeListener method called with missing non-optional argument does not throw any exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotationNone_TypeMismatch" priority="P2" purpose="Check argument rotationNone conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_removeModeChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotationNone_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_sendRequest" onload_delay="90" priority="P1" purpose="Check if sendRequest() works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotation90_attribute" priority="P1" purpose="Check if attribute rotation90 of MediaControllerDisplayRotationAbilities exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_sendRequest.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation90_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_sendRequest_exist" priority="P0" purpose="Check if method sendRequest of MediaControllerMode360Info exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotation90_invalid" priority="P2" purpose="Check MediaControllerDisplayRotationAbilities throws exception with invalid rotation90 value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_sendRequest_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation90_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_sendRequest_replyCallback_TypeMismatch" priority="P2" purpose="Check argument replyCallback conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotation90_TypeMismatch" priority="P2" purpose="Check argument rotation90 conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_sendRequest_replyCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation90_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_sendRequest_replyCallback_invalid_cb" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is inavlid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotation180_attribute" priority="P1" purpose="Check if attribute rotation180 of MediaControllerDisplayRotationAbilities exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_sendRequest_replyCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation180_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMode360Info_sendRequest_misarg" priority="P2" purpose="Check if sendRequest method of MediaControllerMode360Info called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotation180_invalid" priority="P2" purpose="Check MediaControllerDisplayRotationAbilities throws exception with invalid rotation180 value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMode360Info_sendRequest_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation180_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerEnabledChangeCallback_notexist" priority="P3" purpose="Check if interface MediaControllerEnabledChangeCallback exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotation180_TypeMismatch" priority="P2" purpose="Check argument rotation180 conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerEnabledChangeCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation180_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerEnabledChangeCallback_onchange" onload_delay="30" priority="P1" purpose="Check if MediaControllerEnabledChangeCallback onchange is called and if its arguments have proper type">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotation270_attribute" priority="P1" purpose="Check if attribute rotation270 of MediaControllerDisplayRotationAbilities exists, has type string">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerEnabledChangeCallback_onchange.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation270_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerEnabledChangeRequestCallback_notexist" priority="P3" purpose="Check if interface MediaControllerEnabledChangeRequestCallback exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotation270_invalid" priority="P2" purpose="Check MediaControllerDisplayRotationAbilities throws exception with invalid rotation270 value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerEnabledChangeRequestCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation270_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerEnabledChangeRequestCallback_onreply" onload_delay="30" priority="P1" purpose="Check if MediaControllerEnabledChangeRequestCallback onchange is called and if its arguments have proper type">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotation270_TypeMismatch" priority="P2" purpose="Check argument rotation270 conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerEnabledChangeRequestCallback_onreply.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation270_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_subtitles_attribute" priority="P1" purpose="Check if attribute subtitles of MediaControllerServer exists, has type object and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilitiesInfo_extend" priority="P3" purpose="Check if MediaControllerDisplayRotationAbilitiesInfo object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_subtitles_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilitiesInfo_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_subtitles_attribute" priority="P1" purpose="Check if attribute subtitles of MediaControllerServerInfo exists, has type object and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilitiesInfo_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayRotationAbilitiesInfo exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_subtitles_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilitiesInfo_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_subtitles_attribute" priority="P1" purpose="Check if attribute subtitles of MediaControllerAbilities exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilitiesInfo_rotationNone_attribute" priority="P1" purpose="Check if attribute rotationNone of MediaControllerDisplayRotationAbilitiesInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_subtitles_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilitiesInfo_rotationNone_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_subtitles_invalid" priority="P2" purpose="Check MediaControllerAbilities throws exception with invalid subtitles value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilitiesInfo_rotation90_attribute" priority="P1" purpose="Check if attribute rotation90 of MediaControllerDisplayRotationAbilitiesInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_subtitles_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilitiesInfo_rotation90_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_subtitles_TypeMismatch" priority="P2" purpose="Check argument subtitles conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilitiesInfo_rotation180_attribute" priority="P1" purpose="Check if attribute rotation180 of MediaControllerDisplayRotationAbilitiesInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_subtitles_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilitiesInfo_rotation180_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_subtitles_attribute" priority="P1" purpose="Check if attribute subtitles of MediaControllerAbilitiesInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilitiesInfo_rotation270_attribute" priority="P1" purpose="Check if attribute rotation270 of MediaControllerDisplayRotationAbilitiesInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_subtitles_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilitiesInfo_rotation270_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitles_extend" priority="P3" purpose="Check if MediaControllersubtitles object is extendable">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMetadata_seasonNumber_attribute" priority="P1" purpose="Check if attribute seasonNumber of MediaControllerMetadata exists, has type long">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_seasonNumber_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitles_notexist" priority="P3" purpose="Check if interface MediaControllersubtitles exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMetadata_seasonTitle_attribute" priority="P1" purpose="Check if attribute seasonTitle of MediaControllerMetadata exists, has type DOMString">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_seasonTitle_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitles_enabled_attribute" priority="P1" purpose="Check if attribute enabled of MediaControllersubtitles exists, has type boolean">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMetadata_episodeNumber_attribute" priority="P1" purpose="Check if attribute episodeNumber of MediaControllerMetadata exists, has type long">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_enabled_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_episodeNumber_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitles_addChangeRequestListener" onload_delay="90" priority="P1" purpose="Check if addChangeRequestListener() works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMetadata_episodeTitle_attribute" priority="P1" purpose="Check if attribute episodeTitle of MediaControllerMetadata exists, has type DOMString">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_addChangeRequestListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_episodeTitle_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitles_addChangeRequestListener_exist" priority="P0" purpose="Check if method addChangeRequestListener of MediaControllersubtitles exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMetadata_resolutionWidth_attribute" priority="P1" purpose="Check if attribute resolutionWidth of MediaControllerMetadata exists, has type long">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_addChangeRequestListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_resolutionWidth_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitles_addChangeRequestListener_listener_TypeMismatch" priority="P2" purpose="Check argument listener conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMetadata_resolutionHeight_attribute" priority="P1" purpose="Check if attribute resolutionHeight of MediaControllerMetadata exists, has type long">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitles_addChangeRequestListener_listener_TypeMismatch.html</test_script_entry>
+ <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="MediaControllerSubtitles_addChangeRequestListener_listener_invalid" priority="P2" purpose="Check if addChangeRequestListener throws exception when callback is inavlid listener">
+ <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/MediaControllerSubtitles_addChangeRequestListener_listener_invalid.html</test_script_entry>
+ <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="MediaControllerSubtitles_addChangeRequestListener_misarg" priority="P2" purpose="Check if addChangeRequestListener method of MediaControllersubtitles called with missing non-optional argument throws an exception">
+ <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/MediaControllerSubtitles_addChangeRequestListener_misarg.html</test_script_entry>
+ <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="MediaControllerSubtitles_removeChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllersubtitles removeChangeRequestListener method works properly">
+ <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/MediaControllerSubtitles_removeChangeRequestListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitles_removeChangeRequestListener_exist" priority="P0" purpose="check if removeChangeRequestListener exists">
+ <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/MediaControllerSubtitles_removeChangeRequestListener_exist.html</test_script_entry>
+ <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="MediaControllerSubtitles_removeChangeRequestListener_misarg" priority="P2" purpose="Check if removeChangeRequestListener method called with missing non-optional argument does not throw any exception">
+ <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/MediaControllerSubtitles_removeChangeRequestListener_misarg.html</test_script_entry>
+ <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="MediaControllerSubtitlesInfo_extend" priority="P3" purpose="Check if MediaControllerSubtitlesInfo object is extendable">
+ <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/MediaControllerSubtitlesInfo_extend.html</test_script_entry>
+ <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="MediaControllerSubtitlesInfo_notexist" priority="P3" purpose="Check if interface MediaControllerSubtitlesInfo exists, it should not.">
+ <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/MediaControllerSubtitlesInfo_notexist.html</test_script_entry>
+ <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="MediaControllerSubtitlesInfo_enabled_attribute" priority="P1" purpose="Check if attribute enabled of MediaControllerSubtitlesInfo exists, has type boolean and is readonly">
+ <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/MediaControllerSubtitlesInfo_enabled_attribute.html</test_script_entry>
+ <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="MediaControllerSubtitlesInfo_addModeChangeListener" onload_delay="90" priority="P1" purpose="Check if addModeChangeListener() works properly">
+ <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/MediaControllerSubtitlesInfo_addModeChangeListener.html</test_script_entry>
+ <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="MediaControllerSubtitlesInfo_addModeChangeListener_exist" priority="P0" purpose="Check if method addModeChangeListener of MediaControllerSubtitlesInfo exists">
+ <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/MediaControllerSubtitlesInfo_addModeChangeListener_exist.html</test_script_entry>
+ <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="MediaControllerSubtitlesInfo_addModeChangeListener_listener_TypeMismatch" priority="P2" purpose="Check argument listener conversions exception">
+ <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/MediaControllerSubtitlesInfo_addModeChangeListener_listener_TypeMismatch.html</test_script_entry>
+ <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="MediaControllerSubtitlesInfo_addModeChangeListener_listener_invalid" priority="P2" purpose="Check if addModeChangeListener throws exception when callback is inavlid listener">
+ <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/MediaControllerSubtitlesInfo_addModeChangeListener_listener_invalid.html</test_script_entry>
+ <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="MediaControllerSubtitlesInfo_addModeChangeListener_misarg" priority="P2" purpose="Check if addModeChangeListener method of MediaControllerSubtitlesInfo called with missing non-optional argument throws an exception">
+ <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/MediaControllerSubtitlesInfo_addModeChangeListener_misarg.html</test_script_entry>
+ <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="MediaControllerSubtitlesInfo_removeModeChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerSubtitlesInfo removeModeChangeListener method works properly">
+ <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/MediaControllerSubtitlesInfo_removeModeChangeListener.html</test_script_entry>
+ <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="MediaControllerSubtitlesInfo_removeModeChangeListener_exist" priority="P0" purpose="check if removeModeChangeListener exists">
+ <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/MediaControllerSubtitlesInfo_removeModeChangeListener_exist.html</test_script_entry>
+ <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="MediaControllerSubtitlesInfo_removeModeChangeListener_misarg" priority="P2" purpose="Check if removeModeChangeListener method called with missing non-optional argument does not throw any exception">
+ <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/MediaControllerSubtitlesInfo_removeModeChangeListener_misarg.html</test_script_entry>
+ <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="MediaControllerSubtitlesInfo_sendRequest" onload_delay="90" priority="P1" purpose="Check if sendRequest() works properly">
+ <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/MediaControllerSubtitlesInfo_sendRequest.html</test_script_entry>
+ <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="MediaControllerSubtitlesInfo_sendRequest_exist" priority="P0" purpose="Check if method sendRequest of MediaControllerSubtitlesInfo exists">
+ <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/MediaControllerSubtitlesInfo_sendRequest_exist.html</test_script_entry>
+ <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="MediaControllerSubtitlesInfo_sendRequest_replyCallback_TypeMismatch" priority="P2" purpose="Check argument replyCallback conversions exception">
+ <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/MediaControllerSubtitlesInfo_sendRequest_replyCallback_TypeMismatch.html</test_script_entry>
+ <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="MediaControllerSubtitlesInfo_sendRequest_replyCallback_invalid_cb" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is inavlid">
+ <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/MediaControllerSubtitlesInfo_sendRequest_replyCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerSubtitlesInfo_sendRequest_misarg" priority="P2" purpose="Check if sendRequest method of MediaControllerSubtitlesInfo called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getPlaylist_exist" priority="P0" purpose="Check if getPlaylist exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerSubtitlesInfo_sendRequest_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getPlaylist_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeChangeCallback_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayModeChangeCallback exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getPlaylist" priority="P1" purpose="Check if MediaControllerServer getPlaylist method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeChangeCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getPlaylist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeChangeCallback_onchange" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayModeChangeCallback onchange is called and if its arguments have proper type">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getPlaylist_NotFoundError" priority="P2" purpose="Check if MediaControllerServer getPlaylist throws exception when playlist is not found">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeChangeCallback_onchange.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getPlaylist_NotFoundError.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeChangeRequestCallback_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayModeChangeRequestCallback exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getPlaylist_exist" priority="P0" purpose="Check if getPlaylist exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeChangeRequestCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_getPlaylist_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeChangeRequestCallback_onreply" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayModeChangeRequestCallback onchange is called and if its arguments have proper type">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getPlaylist" priority="P1" purpose="Check if MediaControllerServerInfo getPlaylist method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeChangeRequestCallback_onreply.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_getPlaylist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_displayMode_attribute" priority="P1" purpose="Check if attribute displayMode of MediaControllerServer exists, has type object and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getPlaylist_NotFoundError" priority="P2" purpose="Check if MediaControllerServerInfo getPlaylist throws exception when playlist is not found">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_displayMode_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_getPlaylist_NotFoundError.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_displayMode_attribute" priority="P1" purpose="Check if attribute displayMode of MediaControllerServerInfo exists, has type object and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_addChangeRequestListener" priority="P1" purpose="Check if addChangeRequestListener() works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_displayMode_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_addChangeRequestListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayMode_extend" priority="P3" purpose="Check if MediaControllerDisplayMode object is extendable">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_addChangeRequestListener_exist" priority="P0" purpose="Check if method addChangeRequestListener of MediaControllerServerPlaybackInfo exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_addChangeRequestListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayMode_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayMode exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_addChangeRequestListener_listener_TypeMismatch" priority="P2" purpose="Check argument listener conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_addChangeRequestListener_listener_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayMode_type_attribute" priority="P1" purpose="Check if attribute type of MediaControllerDisplayMode exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_addChangeRequestListener_listener_invalid" priority="P2" purpose="Check if addChangeRequestListener throws exception when callback is inavlid listener">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_type_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_addChangeRequestListener_listener_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayMode_addChangeRequestListener" onload_delay="90" priority="P1" purpose="Check if addChangeRequestListener() works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_addChangeRequestListener_misarg" priority="P2" purpose="Check if addChangeRequestListener method of MediaControllerServerPlaybackInfo called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_addChangeRequestListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_addChangeRequestListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayMode_addChangeRequestListener_exist" priority="P0" purpose="Check if method addChangeRequestListener of MediaControllerDisplayMode exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_removeChangeRequestListener" priority="P1" purpose="Check if MediaControllerServerPlaybackInfo removeChangeRequestListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_addChangeRequestListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_removeChangeRequestListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayMode_addChangeRequestListener_listener_TypeMismatch" priority="P2" purpose="Check argument listener conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_removeChangeRequestListener_exist" priority="P0" purpose="check if removeChangeRequestListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_addChangeRequestListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_removeChangeRequestListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayMode_addChangeRequestListener_listener_invalid" priority="P2" purpose="Check if addChangeRequestListener throws exception when callback is inavlid listener">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_removeChangeRequestListener_misarg" priority="P2" purpose="Check if removeChangeRequestListener method called with missing non-optional argument does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_addChangeRequestListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_removeChangeRequestListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayMode_addChangeRequestListener_misarg" priority="P2" purpose="Check if addChangeRequestListener method of MediaControllerDisplayMode called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfoPlaybackInfo sendPlaybackPosition method without optional argument works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_addChangeRequestListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayMode_removeChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayMode removeChangeRequestListener method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_exist" priority="P0" purpose="Check if sendPlaybackPosition exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_removeChangeRequestListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayMode_removeChangeRequestListener_exist" priority="P0" purpose="check if removeChangeRequestListener exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_misarg" priority="P2" purpose="Check if sendPlaybackPosition method called with missing non-optional argument does NOT throw an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_removeChangeRequestListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayMode_removeChangeRequestListener_misarg" priority="P2" purpose="Check if removeChangeRequestListener method called with missing non-optional argument does not throw any exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_replyCallback_TypeMismatch" priority="P2" purpose="Check if sendPlaybackPosition throws exception when replyCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayMode_removeChangeRequestListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_replyCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_extend" priority="P3" purpose="Check if MediaControllerDisplayModeInfo object is extendable">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_replyCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendPlaybackPosition throws exception when replyCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_replyCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayModeInfo exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_with_replyCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfoPlaybackInfo sendPlaybackPosition method with all optional arguments works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackPosition_with_replyCallback.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_type_attribute" priority="P1" purpose="Check if attribute type of MediaControllerDisplayModeInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackAction" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfoPlaybackInfo sendPlaybackAction method without optional argument works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_type_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackAction.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_addModeChangeListener" onload_delay="90" priority="P1" purpose="Check if addModeChangeListener() works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_exist" priority="P0" purpose="Check if sendPlaybackAction exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_addModeChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_addModeChangeListener_exist" priority="P0" purpose="Check if method addModeChangeListener of MediaControllerDisplayModeInfo exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_misarg" priority="P2" purpose="Check if sendPlaybackAction method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_addModeChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_addModeChangeListener_listener_TypeMismatch" priority="P2" purpose="Check argument listener conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_action_TypeMismatch" priority="P2" purpose="Check if sendPlaybackAction throws exception when action is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_addModeChangeListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_action_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_addModeChangeListener_listener_invalid" priority="P2" purpose="Check if addModeChangeListener throws exception when callback is inavlid listener">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_replyCallback_TypeMismatch" priority="P2" purpose="Check if sendPlaybackAction throws exception when replyCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_addModeChangeListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_replyCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_addModeChangeListener_misarg" priority="P2" purpose="Check if addModeChangeListener method of MediaControllerDisplayModeInfo called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_replyCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendPlaybackAction throws exception when replyCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_addModeChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_replyCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_removeModeChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayModeInfo removeModeChangeListener method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_with_replyCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfoPlaybackInfo sendPlaybackAction method with all optional arguments works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_removeModeChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendPlaybackAction_with_replyCallback.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_removeModeChangeListener_exist" priority="P0" purpose="check if removeModeChangeListener exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendRepeatState" priority="P1" purpose="Check if sendRepeatState() works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_removeModeChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendRepeatState.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_removeModeChangeListener_misarg" priority="P2" purpose="Check if removeModeChangeListener method called with missing non-optional argument does not throw any exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendRepeatState_exist" priority="P0" purpose="Check if method sendRepeatState of MediaControllerServerInfoPlaybackInfo exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_removeModeChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendRepeatState_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_sendRequest" onload_delay="90" priority="P1" purpose="Check if sendRequest() works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendRepeatState_state_TypeMismatch" priority="P2" purpose="Check argument state conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_sendRequest.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendRepeatState_state_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_sendRequest_exist" priority="P0" purpose="Check if method sendRequest of MediaControllerDisplayModeInfo exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendRepeatState_replyCallback_TypeMismatch" priority="P2" purpose="Check argument replyCallback conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_sendRequest_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendRepeatState_replyCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_sendRequest_replyCallback_TypeMismatch" priority="P2" purpose="Check argument replyCallback conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendRepeatState_replyCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if sendRepeatState throws exception when replyCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_sendRequest_replyCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendRepeatState_replyCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_sendRequest_replyCallback_invalid_cb" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is inavlid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendRepeatState_with_replyCallback" onload_delay="90" priority="P1" purpose="Check if sendRepeatState method works properly with replyCallback argument">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_sendRequest_replyCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendRepeatState_with_replyCallback.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeInfo_sendRequest_misarg" priority="P2" purpose="Check if sendRequest method of MediaControllerDisplayModeInfo called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendShuffleMode" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfoPlaybackInfo sendShuffleMode method without optional argument works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeInfo_sendRequest_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendShuffleMode.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationChangeCallback_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayRotationChangeCallback exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendShuffleMode_exist" priority="P0" purpose="Check if sendShuffleMode exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationChangeCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendShuffleMode_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationChangeCallback_onchange" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayRotationChangeCallback onchange is called and if its arguments have proper type">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendShuffleMode_replyCallback_TypeMismatch" priority="P2" purpose="Check if sendShuffleMode throws exception when replyCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationChangeCallback_onchange.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendShuffleMode_replyCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationChangeRequestCallback_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayRotationChangeRequestCallback exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendShuffleMode_replyCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendShuffleMode throws exception when replyCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationChangeRequestCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendShuffleMode_replyCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationChangeRequestCallback_onreply" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayRotationChangeRequestCallback onchange is called and if its arguments have proper type">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_sendShuffleMode_with_replyCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfoPlaybackInfo sendShuffleMode method with all optional arguments works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationChangeRequestCallback_onreply.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_sendShuffleMode_with_replyCallback.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_displayRotation_attribute" priority="P1" purpose="Check if attribute displayRotation of MediaControllerServer exists, has type object and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfoPlaybackInfo addPlaybackInfoChangeListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_displayRotation_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_displayRotation_attribute" priority="P1" purpose="Check if attribute displayRotation of MediaControllerServerInfo exists, has type object and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_exist" priority="P0" purpose="check if addPlaybackInfoChangeListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_displayRotation_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_extend" priority="P3" purpose="Check if MediaControllerDisplayRotation object is extendable">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_listener_TypeMismatch" priority="P2" purpose="Check if addPlaybackInfoChangeListener throws exception when listener is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_listener_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayRotation exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_listener_invalid" priority="P2" purpose="Check if addPlaybackInfoChangeListener throws exception when listener is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_listener_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_displayRotation_attribute" priority="P1" purpose="Check if attribute displayRotation of MediaControllerDisplayRotation exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_misarg" priority="P2" purpose="Check if addPlaybackInfoChangeListener method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_displayRotation_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_addPlaybackInfoChangeListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_displayRotation_TypeMismatch" priority="P2" purpose="Check argument displayRotation conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfoPlaybackInfo removePlaybackInfoChangeListener method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_displayRotation_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_addChangeRequestListener" onload_delay="90" priority="P1" purpose="Check if addChangeRequestListener() works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener_exist" priority="P0" purpose="check if removePlaybackInfoChangeListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_addChangeRequestListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_addChangeRequestListener_exist" priority="P0" purpose="Check if method addChangeRequestListener of MediaControllerDisplayRotation exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener_misarg" priority="P2" purpose="Check if removePlaybackInfoChangeListener method called with missing non-optional argument does not throw any exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_addChangeRequestListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_addChangeRequestListener_listener_TypeMismatch" priority="P2" purpose="Check argument listener conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener_watchId_invalid" priority="P2" purpose="Check if removePlaybackInfoChangeListener method of MediaControllerServerInfoPlaybackInfo called with invalid value throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_addChangeRequestListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_removePlaybackInfoChangeListener_watchId_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_addChangeRequestListener_listener_invalid" priority="P2" purpose="Check if addChangeRequestListener throws exception when callback is inavlid listener">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerChangeRequestPlaybackInfoCallback_onplaybackactionrequest" priority="P1" purpose="Check if MediaControllerChangeRequestPlaybackInfoCallback onplaybackactionrequest is called and if its arguments have proper type">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_addChangeRequestListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_onplaybackactionrequest.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_addChangeRequestListener_misarg" priority="P2" purpose="Check if addChangeRequestListener method of MediaControllerDisplayRotation called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerChangeRequestPlaybackInfoCallback_onplaybackitemrequest" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaybackInfoChangeCallback onplaybackitemrequest is called and if its arguments have proper type">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_addChangeRequestListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_onplaybackitemrequest.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_removeChangeRequestListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayRotation removeChangeRequestListener method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerChangeRequestPlaybackInfoCallback_onplaybackpositionrequest" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaybackInfoChangeCallback onplaybackpositionrequest is called and if its arguments have proper type">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_removeChangeRequestListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_onplaybackpositionrequest.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_removeChangeRequestListener_exist" priority="P0" purpose="check if removeChangeRequestListener exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerChangeRequestPlaybackInfoCallback_onrepeatstaterequest" onload_delay="30" priority="P1" purpose="Check if MediaControllerChangeRequestPlaybackInfoCallback onrepeatstaterequest is called and if its arguments have proper type">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_removeChangeRequestListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_onrepeatstaterequest.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotation_removeChangeRequestListener_misarg" priority="P2" purpose="Check if removeChangeRequestListener method called with missing non-optional argument does not throw any exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerChangeRequestPlaybackInfoCallback_onshufflemoderequest" onload_delay="30" priority="P1" purpose="Check if MediaControllerChangeRequestPlaybackInfoCallback onshufflemoderequest is called and if its arguments have proper type">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotation_removeChangeRequestListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_onshufflemoderequest.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_extend" priority="P3" purpose="Check if MediaControllerDisplayRotationInfo object is extendable">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_extend" priority="P3" purpose="Check if MediaControllerPlaylists object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayRotationInfo exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_notexist" priority="P3" purpose="Check if interface MediaControllerPlaylists exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_displayRotation_attribute" priority="P1" purpose="Check if attribute displayRotation of MediaControllerDisplayRotationInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_createPlaylist_exist" priority="P0" purpose="Check if createPlaylist exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_displayRotation_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_createPlaylist_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener" onload_delay="90" priority="P1" purpose="Check if addDisplayRotationChangeListener() works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_createPlaylist" priority="P1" purpose="Check if MediaControllerPlaylists createPlaylist method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_createPlaylist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_exist" priority="P0" purpose="Check if method addDisplayRotationChangeListener of MediaControllerDisplayRotationInfo exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_createPlaylist_invalid" priority="P2" purpose="Check if createPlaylist thrown invalid exception when playlist name already exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_createPlaylist_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_listener_TypeMismatch" priority="P2" purpose="Check argument listener conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_savePlaylist" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylists savePlaylist method without optional argument works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_savePlaylist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_listener_invalid" priority="P2" purpose="Check if addDisplayRotationChangeListener throws exception when callback is inavlid listener">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_savePlaylist_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when errorCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_savePlaylist_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_misarg" priority="P2" purpose="Check if addDisplayRotationChangeListener method of MediaControllerDisplayRotationInfo called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_savePlaylist_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when errorCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_addDisplayRotationChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_savePlaylist_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerDisplayRotationInfo removeDisplayRotationChangeListener method works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_savePlaylist_exist" priority="P0" purpose="Check if savePlaylist exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_savePlaylist_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener_exist" priority="P0" purpose="check if removeDisplayRotationChangeListener exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_savePlaylist_misarg" priority="P2" purpose="Check if savePlaylist method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_savePlaylist_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener_misarg" priority="P2" purpose="Check if removeDisplayRotationChangeListener method called with missing non-optional argument does not throw any exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_savePlaylist_playlist_TypeMismatch" priority="P2" purpose="Check if savePlaylist throws exception when state is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_removeDisplayRotationChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_savePlaylist_playlist_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_sendRequest" onload_delay="90" priority="P1" purpose="Check if sendRequest() works properly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_savePlaylist_successCallback_TypeMismatch" priority="P2" purpose="Check if savePlaylist throws exception when successCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_sendRequest.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_savePlaylist_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_sendRequest_exist" priority="P0" purpose="Check if method sendRequest of MediaControllerDisplayRotationInfo exists">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_savePlaylist_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when successCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_sendRequest_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_savePlaylist_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_sendRequest_replyCallback_TypeMismatch" priority="P2" purpose="Check argument replyCallback conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_savePlaylist_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylists savePlaylist method with all optional arguments works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_sendRequest_replyCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_savePlaylist_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_sendRequest_replyCallback_invalid_cb" priority="P2" purpose="Check if sendRequest throws exception when replyCallback is inavlid">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_savePlaylist_errorCallback_invoke" onload_delay="30" priority="P2" purpose="Check if errorCallback invoked when playlist with given name does not exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_sendRequest_replyCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_savePlaylist_errorCallback_invoke.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationInfo_sendRequest_misarg" priority="P2" purpose="Check if sendRequest method of MediaControllerDisplayRotationInfo called with missing non-optional argument throws an exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_deletePlaylist" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylists deletePlaylist method without optional argument works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationInfo_sendRequest_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_deletePlaylist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilityChangeCallback_ondisplaymodeabilitychanged" onload_delay="30" priority="P1" purpose="Check if MediaControllerAbilityChangeCallback ondisplaymodeabilitychanged is called and if its arguments have proper type">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_deletePlaylist_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when errorCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilityChangeCallback_ondisplaymodeabilitychanged.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_deletePlaylist_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_displayMode_attribute" priority="P1" purpose="Check if attribute displayMode of MediaControllerAbilities exists, has type object and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_deletePlaylist_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when errorCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_displayMode_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_deletePlaylist_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_displayMode_attribute" priority="P1" purpose="Check if attribute displayMode of MediaControllerAbilitiesInfo exists, has type object and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_deletePlaylist_exist" priority="P0" purpose="Check if deletePlaylist exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_displayMode_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_deletePlaylist_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_extend" priority="P3" purpose="Check if MediaControllerDisplayModeAbilities object is extendable">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_deletePlaylist_successCallback_TypeMismatch" priority="P2" purpose="Check if deletePlaylist throws exception when successCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_deletePlaylist_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayModeAbilities exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_deletePlaylist_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when successCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_deletePlaylist_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_letterBox_attribute" priority="P1" purpose="Check if attribute letterBox of MediaControllerDisplayModeAbilities exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_deletePlaylist_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylists deletePlaylist method with all optional arguments works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_letterBox_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_deletePlaylist_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_letterBox_invalid" priority="P2" purpose="Check MediaControllerDisplayModeAbilities throws exception with invalid letterBox value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_deletePlaylist_errorCallback_invoke" onload_delay="30" priority="P2" purpose="Check if errorCallback invoked when playlist with given name does not exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_letterBox_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_deletePlaylist_errorCallback_invoke.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_letterBox_TypeMismatch" priority="P2" purpose="Check argument letterBox conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_getAllPlaylists" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylists getAllPlaylists method without optional argument works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_letterBox_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_getAllPlaylists.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_originSize_attribute" priority="P1" purpose="Check if attribute originSize of MediaControllerDisplayModeAbilities exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_getAllPlaylists_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_originSize_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_getAllPlaylists_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_originSize_invalid" priority="P2" purpose="Check MediaControllerDisplayModeAbilities throws exception with invalid originSize value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_getAllPlaylists_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_originSize_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_getAllPlaylists_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_originSize_TypeMismatch" priority="P2" purpose="Check argument originSize conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_getAllPlaylists_exist" priority="P0" purpose="Check if getAllPlaylists exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_originSize_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_getAllPlaylists_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_fullScreen_attribute" priority="P1" purpose="Check if attribute fullScreen of MediaControllerDisplayModeAbilities exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_getAllPlaylists_misarg" priority="P2" purpose="Check if getAllPlaylists method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_fullScreen_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_getAllPlaylists_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_fullScreen_invalid" priority="P2" purpose="Check MediaControllerDisplayModeAbilities throws exception with invalid fullScreen value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_getAllPlaylists_successCallback_TypeMismatch" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_fullScreen_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_getAllPlaylists_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_fullScreen_TypeMismatch" priority="P2" purpose="Check argument fullScreen conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_getAllPlaylists_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_fullScreen_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_getAllPlaylists_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_croppedFull_attribute" priority="P1" purpose="Check if attribute croppedFull of MediaControllerDisplayModeAbilities exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylists_getAllPlaylists_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylists getAllPlaylists method with all optional arguments works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_croppedFull_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylists_getAllPlaylists_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_croppedFull_invalid" priority="P2" purpose="Check MediaControllerDisplayModeAbilities throws exception with invalid croppedFull value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_extend" priority="P3" purpose="Check if MediaControllerPlaylistsInfo object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_croppedFull_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilities_croppedFull_TypeMismatch" priority="P2" purpose="Check argument croppedFull conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_notexist" priority="P3" purpose="Check if interface MediaControllerPlaylistsInfo exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilities_croppedFull_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilitiesInfo_extend" priority="P3" purpose="Check if MediaControllerDisplayModeAbilitiesInfo object is extendable">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_getAllPlaylists" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylistsInfo getAllPlaylists method without optional argument works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilitiesInfo_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_getAllPlaylists.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilitiesInfo_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayModeAbilitiesInfo exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_getAllPlaylists_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilitiesInfo_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_getAllPlaylists_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilitiesInfo_letterBox_attribute" priority="P1" purpose="Check if attribute letterBox of MediaControllerDisplayModeAbilitiesInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_getAllPlaylists_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilitiesInfo_letterBox_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_getAllPlaylists_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilitiesInfo_originSize_attribute" priority="P1" purpose="Check if attribute originSize of MediaControllerDisplayModeAbilitiesInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_getAllPlaylists_exist" priority="P0" purpose="Check if getAllPlaylists exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilitiesInfo_originSize_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_getAllPlaylists_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilitiesInfo_fullScreen_attribute" priority="P1" purpose="Check if attribute fullScreen of MediaControllerDisplayModeAbilitiesInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_getAllPlaylists_misarg" priority="P2" purpose="Check if getAllPlaylists method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilitiesInfo_fullScreen_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_getAllPlaylists_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayModeAbilitiesInfo_croppedFull_attribute" priority="P1" purpose="Check if attribute croppedFull of MediaControllerDisplayModeAbilitiesInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_getAllPlaylists_successCallback_TypeMismatch" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayModeAbilitiesInfo_croppedFull_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_getAllPlaylists_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilityChangeCallback_ondisplayrotationabilitychanged" onload_delay="30" priority="P1" purpose="Check if MediaControllerAbilityChangeCallback ondisplayrotationabilitychanged is called and if its arguments have proper type">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_getAllPlaylists_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is invalid">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilityChangeCallback_ondisplayrotationabilitychanged.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_getAllPlaylists_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilities_displayRotation_attribute" priority="P1" purpose="Check if attribute displayRotation of MediaControllerAbilities exists, has type object and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_getAllPlaylists_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylistsInfo getAllPlaylists method with all optional arguments works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilities_displayRotation_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_getAllPlaylists_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerAbilitiesInfo_displayRotation_attribute" priority="P1" purpose="Check if attribute displayRotation of MediaControllerAbilitiesInfo exists, has type object and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_sendPlaybackItem" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaylistsInfo sendPlaybackItem method without optional argument works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerAbilitiesInfo_displayRotation_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_sendPlaybackItem.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_extend" priority="P3" purpose="Check if MediaControllerDisplayRotationAbilities object is extendable">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_sendPlaybackItem_exist" priority="P0" purpose="Check if sendPlaybackItem exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_sendPlaybackItem_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayRotationAbilities exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_sendPlaybackItem_misarg" priority="P2" purpose="Check if sendPlaybackItem method called with missing non-optional argument throws an exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_sendPlaybackItem_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotationNone_attribute" priority="P1" purpose="Check if attribute rotationNone of MediaControllerDisplayRotationAbilities exists, has type string">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_sendPlaybackItem_action_TypeMismatch" priority="P2" purpose="Check if sendPlaybackItem throws exception when action is incorrect">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotationNone_attribute.html</test_script_entry>
+ <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="MediaControllerDisplayRotationAbilities_rotationNone_invalid" priority="P2" purpose="Check MediaControllerDisplayRotationAbilities throws exception with invalid rotationNone value">
+ <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">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotationNone_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotationNone_TypeMismatch" priority="P2" purpose="Check argument rotationNone conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_addPlaylistUpdateListener_exist" priority="P0" purpose="check if addPlaylistUpdateListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotationNone_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotation90_attribute" priority="P1" purpose="Check if attribute rotation90 of MediaControllerDisplayRotationAbilities exists, has type string">
+ <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">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation90_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_listener_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotation90_invalid" priority="P2" purpose="Check MediaControllerDisplayRotationAbilities throws exception with invalid rotation90 value">
+ <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">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation90_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_listener_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotation90_TypeMismatch" priority="P2" purpose="Check argument rotation90 conversions exception">
+ <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">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation90_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_addPlaylistUpdateListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotation180_attribute" priority="P1" purpose="Check if attribute rotation180 of MediaControllerDisplayRotationAbilities exists, has type string">
+ <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">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation180_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdateListener.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotation180_invalid" priority="P2" purpose="Check MediaControllerDisplayRotationAbilities throws exception with invalid rotation180 value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaylistsInfo_removePlaylistUpdateListener_exist" priority="P0" purpose="check if removePlaylistUpdateListener exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation180_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdateListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotation180_TypeMismatch" priority="P2" purpose="Check argument rotation180 conversions exception">
+ <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">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation180_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaylistsInfo_removePlaylistUpdateListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotation270_attribute" priority="P1" purpose="Check if attribute rotation270 of MediaControllerDisplayRotationAbilities exists, has type string">
+ <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">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation270_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_playlists_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotation270_invalid" priority="P2" purpose="Check MediaControllerDisplayRotationAbilities throws exception with invalid rotation270 value">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_playback_attribute" priority="P1" purpose="Check if attribute playback of MediaControllerServer exists, has type MediaControllerServerPlaybackInfo and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation270_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_playback_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilities_rotation270_TypeMismatch" priority="P2" purpose="Check argument rotation270 conversions exception">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_playback_attribute" priority="P1" purpose="Check if attribute playback of MediaControllerServerInfo exists, has type MediaControllerServerInfoPlaybackInfo and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilities_rotation270_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_playback_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilitiesInfo_extend" priority="P3" purpose="Check if MediaControllerDisplayRotationAbilitiesInfo object is extendable">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_updatePlaybackItem_exist" priority="P0" purpose="Check if updatePlaybackItem exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilitiesInfo_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_updatePlaybackItem_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilitiesInfo_notexist" priority="P3" purpose="Check if interface MediaControllerDisplayRotationAbilitiesInfo exists, it should not.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_updatePlaybackItem" priority="P1" purpose="Check if MediaControllerServerPlaybackInfo updatePlaybackItem method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilitiesInfo_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_updatePlaybackItem.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilitiesInfo_rotationNone_attribute" priority="P1" purpose="Check if attribute rotationNone of MediaControllerDisplayRotationAbilitiesInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_extend" priority="P3" purpose="Check if MediaControllerServerPlaybackInfo object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilitiesInfo_rotationNone_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilitiesInfo_rotation90_attribute" priority="P1" purpose="Check if attribute rotation90 of MediaControllerDisplayRotationAbilitiesInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_notexist" priority="P3" purpose="Check if interface MediaControllerServerPlaybackInfo exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilitiesInfo_rotation90_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilitiesInfo_rotation180_attribute" priority="P1" purpose="Check if attribute rotation180 of MediaControllerDisplayRotationAbilitiesInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_metadata_attribute" priority="P1" purpose="Check if attribute metadata of MediaControllerServerPlaybackInfo exists, has type object and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilitiesInfo_rotation180_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_metadata_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerDisplayRotationAbilitiesInfo_rotation270_attribute" priority="P1" purpose="Check if attribute rotation270 of MediaControllerDisplayRotationAbilitiesInfo exists, has type string and is readonly">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_position_attribute" priority="P1" purpose="Check if attribute position of MediaControllerServerPlaybackInfo exists, has type long and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerDisplayRotationAbilitiesInfo_rotation270_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_position_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMetadata_seasonNumber_attribute" priority="P1" purpose="Check if attribute seasonNumber of MediaControllerMetadata exists, has type long">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_repeatState_attribute" priority="P1" purpose="Check if attribute repeatState of MediaControllerServerPlaybackInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_seasonNumber_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_repeatState_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMetadata_seasonTitle_attribute" priority="P1" purpose="Check if attribute seasonTitle of MediaControllerMetadata exists, has type DOMString">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_shuffleMode_attribute" priority="P1" purpose="Check if attribute shuffleMode of MediaControllerServerPlaybackInfo exists, has type boolean and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_seasonTitle_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_shuffleMode_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMetadata_episodeNumber_attribute" priority="P1" purpose="Check if attribute episodeNumber of MediaControllerMetadata exists, has type long">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_state_attribute" priority="P1" purpose="Check if attribute state of MediaControllerServerPlaybackInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_episodeNumber_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_state_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMetadata_episodeTitle_attribute" priority="P1" purpose="Check if attribute episodeTitle of MediaControllerMetadata exists, has type DOMString">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_ageRating_attribute" priority="P1" purpose="Check if attribute ageRating of MediaControllerServerPlaybackInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_episodeTitle_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_ageRating_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMetadata_resolutionWidth_attribute" priority="P1" purpose="Check if attribute resolutionWidth of MediaControllerMetadata exists, has type long">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_index_attribute" priority="P1" purpose="Check if attribute index of MediaControllerServerPlaybackInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_resolutionWidth_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_index_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMetadata_resolutionHeight_attribute" priority="P1" purpose="Check if attribute resolutionHeight of MediaControllerMetadata exists, has type long">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_playlistName_attribute" priority="P1" purpose="Check if attribute playlistName of MediaControllerServerPlaybackInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_resolutionHeight_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_playlistName_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">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_contentType_attribute" priority="P1" purpose="Check if attribute contentType of MediaControllerServerPlaybackInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_contentType_attribute.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">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_extend" priority="P3" purpose="Check if MediaControllerServerInfoPlaybackInfo object is extendable">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_extend.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">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_notexist" priority="P3" purpose="Check if interface MediaControllerServerInfoPlaybackInfo exists, it should not.">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServer_getAllClientsInfo_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_notexist.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">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_metadata_attribute" priority="P1" purpose="Check if attribute metadata of MediaControllerServerInfoPlaybackInfo exists, has type object and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_metadata_attribute.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.">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_position_attribute" priority="P1" purpose="Check if attribute position of MediaControllerServerInfoPlaybackInfo exists, has type long and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_position_attribute.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">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_repeatState_attribute" priority="P1" purpose="Check if attribute repeatState of MediaControllerServerInfoPlaybackInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_name_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_repeatState_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">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_shuffleMode_attribute" priority="P1" purpose="Check if attribute shuffleMode of MediaControllerServerInfoPlaybackInfo exists, has type boolean and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_shuffleMode_attribute.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">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_state_attribute" priority="P1" purpose="Check if attribute state of MediaControllerServerInfoPlaybackInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_data_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_state_attribute.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">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_ageRating_attribute" priority="P1" purpose="Check if attribute ageRating of MediaControllerServerInfoPlaybackInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_ageRating_attribute.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">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_index_attribute" priority="P1" purpose="Check if attribute index of MediaControllerServerInfoPlaybackInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_index_attribute.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">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_playlistName_attribute" priority="P1" purpose="Check if attribute playlistName of MediaControllerServerInfoPlaybackInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_playlistName_attribute.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">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfoPlaybackInfo_contentType_attribute" priority="P1" purpose="Check if attribute contentType of MediaControllerServerInfoPlaybackInfo exists, has type string and is readonly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClientInfo_sendEvent_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfoPlaybackInfo_contentType_attribute.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">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_ageRating_TypeMismatch" priority="P2" purpose="Check argument ageRating conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_ageRating_TypeMismatch.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">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_contentType_TypeMismatch" priority="P2" purpose="Check argument contentType conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_contentType_TypeMismatch.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">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_position_invalid" priority="P2" purpose="Check MediaControllerServerPlaybackInfo throws exception with invalid position value">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_position_invalid.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">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_repeatState_TypeMismatch" priority="P2" purpose="Check argument repeatState conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_listener_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_repeatState_TypeMismatch.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">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerPlaybackInfo_state_TypeMismatch" priority="P2" purpose="Check argument state conversions exception">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_setCustomEventListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerPlaybackInfo_state_TypeMismatch.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">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMetadata_save" priority="P1" purpose="Check if MediaControllerMetadata save method works properly">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_save.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">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMetadata_save_exist" priority="P0" purpose="Check if MediaControllerMetadata save exists">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_save_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">
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerMetadata_save_extra_argument" priority="P2" purpose="Check using MediaControllerMetadata::save() method with extra argument">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerClient_unsetCustomEventListener_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerMetadata_save_extra_argument.html</test_script_entry>
</description>
</testcase>
</set>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+<html>
+<head>
+<title>MediaControllerChangeRequestPlaybackInfoCallback_onplaybackstaterequest</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerChangeRequestPlaybackInfoCallback_onplaybackstaterequest
+//==== LABEL Check if MediaControllerPlaybackInfoChangeCallback onplaybackstaterequest is called and if its arguments have proper type
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerChangeRequestPlaybackInfoCallback:onplaybackstaterequest M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA CBOA CBT
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), watcherId, mcServer, mcClient, mcServerInfo, playbackRequestListener;
+
+t.step(function () {
+ playbackRequestListener = {
+ onplaybackstaterequest: t.step_func(function(state, clientName) {
+ assert_type(state, "string", "state should be a string");
+ assert_equals(state, "STOP", "state be requested to change");
+ assert_type(clientName, "string", "clientName should be a string");
+ assert_equals(clientName, mcServerInfo.name, "clientName should be correct");
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ mcServerInfo.sendPlaybackState("STOP");
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_ageRating_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_ageRating_attribute
+//==== LABEL Check if attribute ageRating of MediaControllerPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:ageRating A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO AVL
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_readonly(mcServer.playbackInfo, "ageRating", mcServer.playbackInfo.ageRating, "string", "20");
+ assert_in_array(mcServer.playbackInfo.ageRating, ["ALL", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19"], "Incorrect value of type");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_contentType_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_contentType_attribute
+//==== LABEL Check if attribute contentType of MediaControllerPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:contentType A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO AVL ADV
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ assert_equals(mcServer.playbackInfo.contentType, "UNDECIDED", "invalid default value of contentType");
+ check_readonly(mcServer.playbackInfo, "contentType", mcServer.playbackInfo.contentType, "string", "OTHER");
+ assert_in_array(mcServer.playbackInfo.contentType, ["IMAGE", "MUSIC", "VIDEO", "OTHER", "UNDECIDED"], "Incorrect value of type");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_extend</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_extend
+//==== LABEL Check if MediaControllerPlaybackInfo object is extendable
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:MediaControllerPlaybackInfo U
+//==== SPEC_URL TBD
+//==== PRIORITY P3
+//==== TEST_CRITERIA NIO
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_extensibility(mcServer.playbackInfo);
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_index_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_index_attribute
+//==== LABEL Check if attribute index of MediaControllerPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:index A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_readonly(mcServer.playbackInfo, "index", mcServer.playbackInfo.index, "string", "A");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_metadata_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_metadata_attribute
+//==== LABEL Check if attribute metadata of MediaControllerPlaybackInfo exists, has type object and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:metadata A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_readonly(mcServer.playbackInfo, "metadata", mcServer.playbackInfo.metadata, "object", null);
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_notexist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_notexist
+//==== LABEL Check if interface MediaControllerPlaybackInfo exists, it should not.
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:MediaControllerPlaybackInfo U
+//==== SPEC_URL TBD
+//==== PRIORITY P3
+//==== TEST_CRITERIA NIO
+
+test(function () {
+ check_no_interface_object("MediaControllerPlaybackInfo");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_playlistName_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_playlistName_attribute
+//==== LABEL Check if attribute playlistName of MediaControllerPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:playlistName A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_readonly(mcServer.playbackInfo, "playlistName", mcServer.playbackInfo.playlistName, "string", "A");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_position_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_position_attribute
+//==== LABEL Check if attribute position of MediaControllerPlaybackInfo exists, has type long and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:position A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_readonly(mcServer.playbackInfo, "position", mcServer.playbackInfo.position, "long", 100);
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_repeatState_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_repeatState_attribute
+//==== LABEL Check if attribute repeatState of MediaControllerPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:repeatState A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer, state;
+
+ mcServer= tizen.mediacontroller.createServer();
+ mcServer.updateRepeatState("REPEAT_OFF");
+ state = mcServer.playbackInfo.repeatState;
+ check_readonly(mcServer.playbackInfo, "repeatState", state, "string", "REPEAT_ALL");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_shuffleMode_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_shuffleMode_attribute
+//==== LABEL Check if attribute shuffleMode of MediaControllerPlaybackInfo exists, has type boolean and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:shuffleMode A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer, beforemode;
+
+ mcServer = tizen.mediacontroller.createServer();
+ beforemode = mcServer.playbackInfo.shuffleMode;
+ check_readonly(mcServer.playbackInfo, "shuffleMode", mcServer.playbackInfo.shuffleMode, "boolean", !beforemode);
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_state_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_state_attribute
+//==== LABEL Check if attribute state of MediaControllerPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:state A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO AVL
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_readonly(mcServer.playbackInfo, "state", mcServer.playbackInfo.state, "string", "FORWARD");
+ assert_in_array(mcServer.playbackInfo.state, ["PLAY", "PAUSE", "STOP", "NEXT", "PREV", "FORWARD", "REWIND"], "Incorrect value of type");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaybackInfoChangeListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaybackInfoChangeListener
+//==== LABEL Check if MediaControllerServerInfo addPlaybackInfoChangeListener method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, playbackListener, retVal = null;
+
+t.step(function () {
+ playbackListener = {
+ onplaybackchanged: t.step_func(function(state, position) {
+ assert_type(retVal, "long", "sendPlaybackPosition should return long");
+ assert_equals(state, "STOP", "state should be STOP");
+ mcServerInfo.removePlaybackInfoChangeListener(retVal);
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ retVal = mcServerInfo.addPlaybackInfoChangeListener(playbackListener);
+ mcServer.updatePlaybackState("STOP");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaybackInfoChangeListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaybackInfoChangeListener_exist
+//==== LABEL check if addPlaybackInfoChangeListener exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "addPlaybackInfoChangeListener");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch
+//==== LABEL Check if addPlaybackInfoChangeListener throws exception when listener is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, mcClient, mcServerInfo, playbackListener, exceptionName, conversionTable, i;
+
+test(function () {
+ conversionTable = getTypeConversionExceptions("object", false);
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+
+ for (i = 0; i < conversionTable.length; i++) {
+ playbackListener = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.addPlaybackInfoChangeListener(playbackListener);
+ }, exceptionName + " should be thrown - given incorrect listener.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid
+//==== LABEL Check if addPlaybackInfoChangeListener throws exception when listener is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTL
+
+var mcClient, mcServer, mcServerInfo, playbackListener, exceptionName, incorrectListener, i;
+
+test(function () {
+ incorrectListener = getListenerConversionExceptions(["onplaybackchanged", "onshufflemodechanged",
+ "onrepeatmodechanged", "onmetadatachanged"]);
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+
+ for (i = 0; i < incorrectListener.length; i++) {
+ playbackListener = incorrectListener[i][0];
+ exceptionName = incorrectListener[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.addPlaybackInfoChangeListener(playbackListener);
+ }, exceptionName + " should be thrown - given incorrect listener.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg
+//==== LABEL Check if addPlaybackInfoChangeListener method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcClient, mcServerInfo;
+
+ tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.addPlaybackInfoChangeListener();
+ }, "Calling addPlaybackInfoChangeListener without arguments should throw an exception.");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaylistUpdatedListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaylistUpdatedListener
+//==== LABEL Check if addPlaylistUpdatedListener() works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+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.deletePlaylist("list");
+ });
+ ondelete = {
+ onplaylistdeleted: t.step_func(function(playlistName) {
+ assert_type(watcherId, "long", "watcherId should be type of number");
+ mcServerInfo.removePlaylistUpdatedListener(watcherId);
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ playlist = mcServer.createPlaylist("list");
+ mcServer.savePlaylist(playlist);
+ watcherId = mcServerInfo.addPlaylistUpdatedListener(ondelete);
+
+ mcServer.deletePlaylist("list");
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaylistUpdatedListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaylistUpdatedListener_exist
+//==== LABEL Check if method addPlaylistUpdatedListener of MediaControllerServerInfo exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "addPlaylistUpdatedListener");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch
+//==== LABEL Check argument listener conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo: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();
+ mcServer.updatePlaybackState("PLAY");
+ 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.addPlaylistUpdatedListener(incorrectCallback);
+ }, exceptionName + " should be thrown - given incorrect callback - " + incorrectCallback);
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid
+//==== LABEL Check if addPlaylistUpdatedListener throws exception when callback is invalid listener
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo: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();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ incorrectListener = getListenerConversionExceptions(["onplaylistupdated"]);
+
+ for (i = 0; i < incorrectListener.length; i++) {
+ statusChangeListener = incorrectListener[i][0];
+ exceptionName = incorrectListener[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.addPlaylistUpdatedListener(statusChangeListener);
+ }, exceptionName + " should be thrown - given incorrect listener.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addServerStatusChangeListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addServerStatusChangeListener_misarg
+//==== LABEL Check if addServerStatusChangeListener method of MediaControllerServerInfo called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addServerStatusChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.addPlaylistUpdatedListener();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists
+//==== LABEL Check if MediaControllerServerInfo getAllPlaylists method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, successCallback, retVal = null;
+
+t.step(function () {
+ successCallback = t.step_func(function (playlists) {
+ assert_equals(retVal, undefined, "getAllPlaylists should return undefined");
+ t.done();
+ });
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ serverInfo = mcClient.getLatestServerInfo();
+ mcServer.createPlaylist("list");
+ retVal = serverInfo.getAllPlaylists(successCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch
+//==== LABEL Check if getAllPlaylists throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, conversionTable,
+ exceptionName, i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ serverInfo = mcClient.getLatestServerInfo();
+ mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("getAllPlaylists() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ serverInfo.getAllPlaylists(successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb
+//==== LABEL Check if getAllPlaylists throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("getAllPlaylists() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ serverInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ serverInfo.getAllPlaylists(successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists_exist
+//==== LABEL Check if getAllPlaylists exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, serverInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServer.createPlaylist("list");
+ serverInfo = mcClient.getLatestServerInfo();
+ check_method_exists(serverInfo, "getAllPlaylists");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists_misarg
+//==== LABEL Check if getAllPlaylists method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, serverInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServer.createPlaylist("list");
+ serverInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ serverInfo.getAllPlaylists();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch
+//==== LABEL Check if getAllPlaylists throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, conversionTable,
+ exceptionName, i, successCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServer.createPlaylist("list");
+ serverInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ serverInfo.getAllPlaylists(successCallback)
+ }, "Given incorrect success callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb
+//==== LABEL Check if getAllPlaylists throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ serverInfo = mcClient.getLatestServerInfo();
+ mcServer.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ serverInfo.getAllPlaylists(incorrectCallback);
+ }, "Given incorrect successCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists_with_errorCallback
+//==== LABEL Check if MediaControllerServerInfo getAllPlaylists method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, successCallback,
+ errorCallback, retVal = null;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("getAllPlaylists() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "getAllPlaylists should return undefined");
+ t.done();
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ serverInfo = mcClient.getLatestServerInfo();
+ retVal = serverInfo.getAllPlaylists(successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_playbackInfo_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_playbackInfo_attribute
+//==== LABEL Check if attribute playbackInfo of MediaControllerServerInfo exists, has type MediaControllerPlaybackInfo and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:playbackInfo A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_own_property(mcServerInfo, "playbackInfo", "mcServerInfo does not own playbackInfo property.");
+ assert_type(mcServerInfo.playbackInfo, "object", "playbackInfo should be an object");
+ mcServerInfo.playbackInfo = null;
+ assert_not_equals(mcServerInfo.playbackInfo, null, "playbackInfo should not be modified");
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_removePlaybackInfoChangeListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_removePlaybackInfoChangeListener
+//==== LABEL Check if MediaControllerServerInfo removePlaybackInfoChangeListener method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, playbackListener, watchId, retVal = null;
+
+t.step(function () {
+ playbackListener = {
+ onplaybackchanged: t.step_func(function(state, position) {
+ retVal = mcServerInfo.removePlaybackInfoChangeListener(watchId);
+ assert_equals(retVal, undefined, "removePlaybackInfoChangeListener returns wrong value");
+ try {
+ mcServerInfo.removePlaybackInfoChangeListener(watchId);
+ } catch(e) {
+ assert_unreached("Calling removePlaybackInfoChangeListener twice should not throw an exception.");
+ }
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watchId = mcServerInfo.addPlaybackInfoChangeListener(playbackListener);
+ mcServer.updatePlaybackState("STOP");
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_removePlaybackInfoChangeListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_removePlaybackInfoChangeListener_exist
+//==== LABEL check if removePlaybackInfoChangeListener exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "removePlaybackInfoChangeListener");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg
+//==== LABEL Check if removePlaybackInfoChangeListener method called with missing non-optional argument does not throw any exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ try {
+ mcServerInfo.removePlaybackInfoChangeListener();
+ } catch(e) {
+ assert_unreached("Calling removePlaybackInfoChangeListener without arguments should not throw an exception.");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid
+//==== LABEL Check if removePlaybackInfoChangeListener method of MediaControllerServerInfo called with invalid value throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ try {
+ mcServerInfo.removePlaybackInfoChangeListener(-1);
+ } catch (e) {
+ assert_unreached("Should not throw exception, but threw " + e.name);
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_removePlaylistUpdatedListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_removePlaylistUpdatedListener
+//==== LABEL Check if MediaControllerServerInfo removePlaylistUpdatedListener method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+//==== 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.deletePlaylist("list");
+ });
+ ondelete = {
+ onplaylistdeleted: t.step_func(function(playlistName) {
+ retVal = mcServerInfo.removePlaylistUpdatedListener(watcherId);
+ assert_equals(retVal, undefined, "return value should be undefined");
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ playlist = mcServer.createPlaylist("list");
+ mcServer.savePlaylist(playlist);
+ watcherId = mcServerInfo.addPlaylistUpdatedListener(ondelete);
+
+ mcServer.deletePlaylist("list");
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_removePlaylistUpdatedListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_removePlaylistUpdatedListener_exist
+//==== LABEL check if removePlaylistUpdatedListener exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "removePlaylistUpdatedListener");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_removePlaylistUpdatedListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_removePlaylistUpdatedListener_misarg
+//==== LABEL Check if removePlaylistUpdatedListener method called with missing non-optional argument does not throw any exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ try {
+ mcServerInfo.removePlaylistUpdatedListener();
+ } catch(e) {
+ assert_unreached("Calling removePlaylistUpdatedListener without arguments should not throw an exception.");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackItem</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackItem
+//==== LABEL Check if MediaControllerServerInfo sendPlaybackItem method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR
+
+test(function () {
+ var mcServer, mcClient, serverInfo, retVal = null;
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ serverInfo = mcClient.getLatestServerInfo();
+ mcServer.createPlaylist("list");
+ retVal = serverInfo.sendPlaybackItem("list", "1", "PLAY", 0);
+ assert_equals(retVal, undefined, "sendPlaybackItem should return undefined");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackItem_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackItem_exist
+//==== LABEL Check if sendPlaybackItem exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, serverInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServer.createPlaylist("list");
+ serverInfo = mcClient.getLatestServerInfo();
+ check_method_exists(serverInfo, "sendPlaybackItem");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+ <!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackItem_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackItem_misarg
+//==== LABEL Check if sendPlaybackItem method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, serverInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServer.createPlaylist("list");
+ serverInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ serverInfo.sendPlaybackItem();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch
+//==== LABEL Check if sendPlaybackItem throws exception when state is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, conversionTable,
+ exceptionName, i, state;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ serverInfo = mcClient.getLatestServerInfo();
+ mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("enum", false);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ state = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ serverInfo.sendPlaybackItem("list", "1", state, 0)
+ }, "Given incorrect state.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition
+//==== LABEL Check if MediaControllerServerInfo sendPlaybackPosition method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, watcherId, successCallback,
+ beforeposition, retVal = null, playbackRequestListener, flag = 0;
+
+t.step(function () {
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "sendPlaybackPosition should return undefined");
+ if(++flag == 2) t.done();
+ });
+
+ playbackRequestListener = {
+ onplaybackpositionrequest: t.step_func(function(position) {
+ assert_type(position, "long", "position should be a long number");
+ assert_greater_than_equal(position, beforeposition + 10, "position should be equal or bigger than set position");
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ if(++flag == 2) t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ beforeposition = mcServer.playbackInfo.position;
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ retVal = mcServerInfo.sendPlaybackPosition(beforeposition + 10, successCallback);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch
+//==== LABEL Check if sendPlaybackPosition throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, conversionTable, exceptionName,
+ i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("sendPlaybackPosition() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendPlaybackPosition(120, successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb
+//==== LABEL Check if sendPlaybackPosition throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("sendPlaybackPosition() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.sendPlaybackPosition(120, successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_exist
+//==== LABEL Check if sendPlaybackPosition exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "sendPlaybackPosition");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_misarg
+//==== LABEL Check if sendPlaybackPosition method called with missing non-optional argument does NOT throw an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ try {
+ mcServerInfo.sendPlaybackPosition();
+ } catch(e) {
+ assert_unreached("Should not throw any exception, but threw " + e.name + e.message);
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch
+//==== LABEL Check if sendPlaybackPosition throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i, successCallback;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendPlaybackPosition(120, successCallback)
+ }, "Given incorrect success callback.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb
+//==== LABEL Check if sendPlaybackPosition throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, errorCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("sendPlaybackPosition() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.sendPlaybackPosition(120, incorrectCallback, errorCallback);
+ }, "Given incorrect successCallback.");
+
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback
+//==== LABEL Check if MediaControllerServerInfo sendPlaybackPosition method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, watcherId, beforeposition,
+ successCallback, errorCallback, playbackRequestListener, retVal = null, flag = 0;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("sendPlaybackPosition() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "sendPlaybackPosition should return undefined.");
+ if(++flag == 2) t.done();
+ });
+
+ playbackRequestListener = {
+ onplaybackpositionrequest: t.step_func(function(position) {
+ assert_type(position, "long", "position should be a number.");
+ assert_greater_than_equal(position, beforeposition + 10, "Should be equal or greater than set value");
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ if(++flag == 2) t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ beforeposition = mcServer.playbackInfo.position;
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ retVal = mcServerInfo.sendPlaybackPosition(beforeposition + 10, successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState
+//==== LABEL Check if MediaControllerServerInfo sendPlaybackState method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, successCallback,
+ watcherId, retVal = null, playbackRequestListener, flag = 0;
+
+t.step(function () {
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "sendPlaybackState should return undefined");
+ if(++flag == 2) t.done();
+ });
+
+ playbackRequestListener = {
+ onplaybackstaterequest: t.step_func(function(state) {
+ assert_type(state, "string", "state should be a string");
+ assert_equals(state, "STOP", "state be requested to change");
+ mcServer.updatePlaybackState(state);
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ if(++flag == 2) t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ retVal = mcServerInfo.sendPlaybackState("STOP", successCallback);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch
+//==== LABEL Check if sendPlaybackState throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, conversionTable,
+ exceptionName, i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("sendPlaybackState() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendPlaybackState("STOP", successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb
+//==== LABEL Check if sendPlaybackState throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("sendPlaybackState() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.sendPlaybackState("STOP", successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_exist
+//==== LABEL Check if sendPlaybackState exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "sendPlaybackState");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_misarg
+//==== LABEL Check if sendPlaybackState method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.sendPlaybackState();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch
+//==== LABEL Check if sendPlaybackState throws exception when state is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("enum", false);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ state = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendPlaybackState(state)
+ }, "Given incorrect state");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch
+//==== LABEL Check if sendPlaybackState throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i, successCallback;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendPlaybackState('PLAY', successCallback)
+ }, "Given incorrect success callback.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb
+//==== LABEL Check if sendPlaybackState throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServerInfo, incorrectCallback, errorCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("sendPlaybackState() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.sendPlaybackState("PLAY", incorrectCallback, errorCallback);
+ }, "Given incorrect successCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_with_errorCallback
+//==== LABEL Check if MediaControllerServerInfo sendPlaybackState method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, successCallback,
+ errorCallback, retVal = null, watcherId, playbackRequestListener, flag = 0;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("sendPlaybackState() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "sendPlaybackState should return undefined");
+ if (++flag == 2) t.done();
+ });
+
+ playbackRequestListener = {
+ onplaybackstaterequest: t.step_func(function(state) {
+ assert_type(state, "string", "state should be a string");
+ assert_equals(state, "STOP", "state be requested to change");
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ if (++flag == 2) t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ retVal = mcServerInfo.sendPlaybackState("STOP", successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState
+//==== LABEL Check if sendRepeatState() works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo, retValue = null;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.updatePlaybackState("PLAY");
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ retValue = mcServerInfo.sendRepeatState("REPEAT_OFF");
+ assert_equals(retValue, undefined, "sendRepeatState returns wrong value");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch
+//==== LABEL Check argument errorCallback conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 90
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), mcServer, mcClient, mcServerInfo, incorrectCallback,
+ successCallback, exceptionName, i, conversionTable;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+
+ successCallback = t.step_func(function () {
+ assert_unreached("sendRepeatState() success callback invoked");
+ });
+
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ incorrectCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendRepeatState("REPEAT_OFF", successCallback, incorrectCallback);
+ }, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb
+//==== LABEL Check if sendRepeatState throws exception when errorCallback is invalid
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), exceptionName = "TypeMismatchError", mcServer, mcClient,
+ mcServerInfo, onsuccessCB, incorrectCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+
+ incorrectCallback = {
+ onerror: t.step_func(function () {
+ assert_unreached("sendRepeatState() invalid error callback invoked.");
+ })
+ };
+
+ onsuccessCB = t.step_func(function () {
+ assert_unreached("sendRepeatState() sucess callback invoked.");
+ });
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendRepeatState("REPEAT_OFF", onsuccessCB, incorrectCallback);
+ }, exceptionName + " should be thrown - given incorrect error callback");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState_exist
+//==== LABEL Check if method sendRepeatState of MediaControllerServerInfo exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "sendRepeatState");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState_state_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState_state_TypeMismatch
+//==== LABEL Check argument state conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 90
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), mcServer, mcClient, mcServerInfo, state,
+ exceptionName, i, conversionTable;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+
+ conversionTable = getTypeConversionExceptions("enum", false);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ state = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendRepeatState(state);
+ }, exceptionName + " should be thrown - given incorrect state");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch
+//==== LABEL Check argument successCallback conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState 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();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ incorrectCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendRepeatState("REPEAT_OFF", incorrectCallback);
+ }, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb
+//==== LABEL Check if sendRepeatState throws exception when successCallback is invalid
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), exceptionName = "TypeMismatchError", mcServer, mcClient,
+ mcServerInfo, incorrectCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("sendRepeatState() success callback invoked.");
+ })
+ };
+
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendRepeatState("REPEAT_OFF", incorrectCallback);
+ }, exceptionName + " should be thrown - given incorrect success callback");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState_with_errorCallback
+//==== LABEL Check if sendRepeatState method works properly with errorCallback argument
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), mcClient, mcServer, mcServerInfo,
+ onsuccessCB, onerrorCB, retValue = null;
+
+t.step(function () {
+ onsuccessCB = t.step_func(function (){
+ assert_equals(retValue, undefined, "sendRepeatState returns wrong value");
+ t.done();
+ });
+
+ onerrorCB = t.step_func(function (error) {
+ assert_unreached("errorCallback is invoked");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ retValue = mcServerInfo.sendRepeatMode("REPEAT_OFF", onsuccessCB, onerrorCB);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendShuffleMode</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendShuffleMode
+//==== LABEL Check if MediaControllerServerInfo sendShuffleMode method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, successCallback, retVal = null,
+ beforemode, watcherId, playbackRequestListener, flag = 0;
+
+t.step(function () {
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "sendShuffleMode should return undefined");
+ if (++flag == 2) t.done();
+ });
+
+ playbackRequestListener = {
+ onshufflemoderequest: t.step_func(function(mode) {
+ assert_type(mode, "boolean", "shuffleMode should be a boolean");
+ assert_equals(mode, !beforemode, "shuffleMode be requested to change");
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ if (++flag == 2) t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ beforemode = mcServer.playbackInfo.shuffleMode;
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ retVal = mcServerInfo.sendShuffleMode(!beforemode, successCallback);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch
+//==== LABEL Check if sendShuffleMode throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("sendShuffleMode() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendShuffleMode(true, successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb
+//==== LABEL Check if sendShuffleMode throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("sendShuffleMode() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.sendShuffleMode(true, successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendShuffleMode_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendShuffleMode_exist
+//==== LABEL Check if sendShuffleMode exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "sendShuffleMode");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch
+//==== LABEL Check if sendShuffleMode throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i, successCallback;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendShuffleMode(true, successCallback)
+ }, "Given incorrect success callback.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb
+//==== LABEL Check if sendShuffleMode throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServerInfo, errorCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("sendShuffleMode() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.sendShuffleMode(true, incorrectCallback, errorCallback);
+ }, "Given incorrect successCallback.");
+
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendShuffleMode_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendShuffleMode_with_errorCallback
+//==== LABEL Check if MediaControllerServerInfo sendShuffleMode method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, successCallback, errorCallback, retVal = null, beforemode, watcherId, playbackRequestListener, flag = 0;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("sendShuffleMode() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "sendShuffleMode should return undefined");
+ if (++flag == 2) t.done();
+ });
+
+ playbackRequestListener = {
+ onshufflemoderequest: t.step_func(function(mode) {
+ assert_type(mode, "boolean", "shuffleMode should be a boolean");
+ assert_equals(mode, !beforemode, "shuffleMode be requested to change");
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ if (++flag == 2) t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ beforemode = mcServer.playbackInfo.shuffleMode;
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ retVal = mcServerInfo.sendShuffleMode(!beforemode, successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_addChangeRequestPlaybackInfoListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_addChangeRequestPlaybackInfoListener
+//==== LABEL Check if addChangeRequestPlaybackInfoListener() works properly
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:addChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), watcherId, mcServer, mcClient, mcServerInfo, playbackRequestListener;
+
+t.step(function () {
+ playbackRequestListener = {
+ onplaybackpositionrequest: t.step_func(function (position) {
+ assert_not_equals(watcherId, null, "id should be not null");
+ assert_type(watcherId, "long", "watcherId should be type of number");
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ mcServerInfo.sendPlaybackPosition(164);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_addChangeRequestPlaybackInfoListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_addChangeRequestPlaybackInfoListener_exist
+//==== LABEL Check if method addChangeRequestPlaybackInfoListener of MediaControllerServer exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:addChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+
+ check_method_exists(mcServer, "addChangeRequestPlaybackInfoListener");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Author:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch
+//==== LABEL Check if addChangeRequestPlaybackInfoListener throws exception when listener is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:addChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, playbackRequestListener, exceptionName, i, conversionTable;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ conversionTable = getTypeConversionExceptions("object", false);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ playbackRequestListener = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ }, exceptionName + " should be thrown - given incorrect success callback.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid
+//==== LABEL Check if addChangeRequestPlaybackInfoListener throws exception when callback is inavlid listener
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:addChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTL
+
+var mcServer, playbackRequestListener, incorrectListener, exceptionName, i;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ incorrectListener = getListenerConversionExceptions(["onplaybackstaterequest", "onplaybackpositionrequest",
+ "onshufflemoderequest", "onrepeatmoderequest"]);
+
+ for (i = 0; i < incorrectListener.length; i++) {
+ playbackRequestListener = incorrectListener[i][0];
+ exceptionName = incorrectListener[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ }, exceptionName + " should be thrown - given incorrect success callback.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg
+//==== LABEL Check if addChangeRequestPlaybackInfoListener method of MediaControllerServer called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:addChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.addChangeRequestPlaybackInfoListener();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_createPlaylist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_createPlaylist
+//==== LABEL Check if MediaControllerServer createPlaylist method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:createPlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, retVal = null;
+
+ mcServer = tizen.mediacontroller.createServer();
+ retVal = mcServer.createPlaylist("PlayList");
+ assert_type(retVal, "object", "createPlaylist should return object")
+ assert_equals(retVal.name, "PlayList", "invalid name in return object");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_createPlaylist_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_createPlaylist_exist
+//==== LABEL Check if method createPlaylist of MediaControllerServer exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:createPlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "createPlaylist");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_createPlaylist_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_createPlaylist_invalid
+//==== LABEL Check if createPlaylist thrown invalid exception when playlist name already exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:createPlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("PlayList");
+ assert_throws(INVALID_VALUES_EXCEPTION,
+ function () {
+ mcServer.createPlaylist("PlayList");
+ }, "InvalidValuesError should be thrown.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist
+//==== LABEL Check if MediaControllerServer deletePlaylist method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+
+test(function () {
+ var mcServer, retValue = null;
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ retValue = mcServer.deletePlaylist("list");
+ assert_equals(retValue, undefined, "deletePlaylist returns wrong value");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch
+//==== LABEL Check if deletePlaylist throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, conversionTable,
+ exceptionName, i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("deletePlaylist() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.deletePlaylist("list", successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist_errorCallback_invalid_cb
+//==== LABEL Check if deletePlaylist throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("deletePlaylist() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.deletePlaylist("list", successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist_errorCallback_invoke</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist_errorCallback_invoke
+//==== LABEL Check if errorCallback invoked when playlist with given name does not exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MERRCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback,
+ errorCallback;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_equals(error.name, "InvalidValuesError", "Invalid error name returned");
+ t.done();
+ });
+
+ successCallback = t.step_func(function () {
+ assert_unreached("deletePlaylist() successCallback should not be invoked");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.deletePlaylist("list", successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist_exist
+//==== LABEL Check if deletePlaylist exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "deletePlaylist");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist_successCallback_TypeMismatch
+//==== LABEL Check if deletePlaylist throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, conversionTable,
+ exceptionName, i, successCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.savePlaylist("list", successCallback)
+ }, "Given incorrect success callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist_successCallback_invalid_cb
+//==== LABEL Check if deletePlaylist throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.deletePlaylist("list", incorrectCallback);
+ }, "Given incorrect successCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist_with_errorCallback
+//==== LABEL Check if MediaControllerServer deletePlaylist method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback,
+ errorCallback, retVal = null;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("deletePlaylist() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "deletePlaylist should return undefined");
+ t.done();
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ retVal = mcServer.deletePlaylist("list", successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists
+//==== LABEL Check if MediaControllerServer getAllPlaylists method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback, retVal = null;
+
+t.step(function () {
+ successCallback = t.step_func(function (playlists) {
+ assert_equals(retVal, undefined, "getAllPlaylists should return undefined");
+ t.done();
+ });
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ retVal = mcServer.getAllPlaylists(successCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch
+//==== LABEL Check if getAllPlaylists throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, conversionTable,
+ exceptionName, i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("getAllPlaylists() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.getAllPlaylists(successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb
+//==== LABEL Check if getAllPlaylists throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("getAllPlaylists() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.getAllPlaylists(successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists_exist
+//==== LABEL Check if getAllPlaylists exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "getAllPlaylists");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists_misarg
+//==== LABEL Check if getAllPlaylists method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.getAllPlaylists();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch
+//==== LABEL Check if getAllPlaylists throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, conversionTable,
+ exceptionName, i, successCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.getAllPlaylists(successCallback)
+ }, "Given incorrect success callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists_successCallback_invalid_cb
+//==== LABEL Check if getAllPlaylists throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.getAllPlaylists(incorrectCallback);
+ }, "Given incorrect successCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists_with_errorCallback
+//==== LABEL Check if MediaControllerServer getAllPlaylists method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback,
+ errorCallback, retVal = null;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("getAllPlaylists() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "getAllPlaylists should return undefined");
+ t.done();
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ retVal = mcServer.getAllPlaylists(successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_playbackInfo_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_playbackInfo_attribute
+//==== LABEL Check if attribute playbackInfo of MediaControllerServer exists, has type MediaControllerPlaybackInfo and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:playbackInfo A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_readonly(mcServer, "playbackInfo", mcServer.playbackInfo, "object", null);
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_removeChangeRequestPlaybackInfoListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_removeChangeRequestPlaybackInfoListener
+//==== LABEL Check if removeChangeRequestPlaybackInfoListener() works properly
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:removeChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), watcherId, mcServer, mcClient, mcServerInfo, playbackRequestListener, retValue = null;
+
+t.step(function () {
+ playbackRequestListener = {
+ onplaybackpositionrequest: t.step_func(function (position) {
+ retValue = mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ assert_equals(retValue, undefined, "removeChangeRequestPlaybackInfoListener returns wrong value");
+ try {
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ } catch(e) {
+ assert_unreached("Calling removeChangeRequestPlaybackInfoListener twice should not throw an exception.");
+ }
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ mcServerInfo.sendPlaybackPosition(164);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist
+//==== LABEL Check if method removeChangeRequestPlaybackInfoListener of MediaControllerServer exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:removeChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "removeChangeRequestPlaybackInfoListener");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg
+//==== LABEL Check if removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with missing non-optional argument does NOT throw any exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:removeChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ try {
+ mcServer.removeChangeRequestPlaybackInfoListener();
+ } catch (e) {
+ assert_unreached("Should not throw exception, but threw " + e.name);
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid
+//==== LABEL Check if removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with invalid value does not throw any exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:removeChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ try {
+ mcServer.removeChangeRequestPlaybackInfoListener(-1);
+ } catch (e) {
+ assert_unreached("Should not throw exception, but threw " + e.name);
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist
+//==== LABEL Check if MediaControllerServer savePlaylist method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+
+test(function () {
+ var mcServer, playlist, retValue = null;
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("list");
+ retValue = mcServer.savePlaylist(playlist);
+ assert_equals(retValue, undefined, "savePlaylist returns wrong value");
+ mcServer.deletePlaylist("list");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_errorCallback_TypeMismatch
+//==== LABEL Check if savePlaylist throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, conversionTable,
+ exceptionName, i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("savePlaylist() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.savePlaylist(playlist, successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_errorCallback_invalid_cb
+//==== LABEL Check if savePlaylist throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("savePlaylist() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.savePlaylist(playlist, successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_errorCallback_invoke</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_errorCallback_invoke
+//==== LABEL Check if errorCallback invoked when playlist with given name does not exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MERRCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, successCallback,
+ errorCallback;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_equals(error.name, "InvalidValuesError", "Invalid error name returned");
+ t.done();
+ });
+
+ successCallback = t.step_func(function () {
+ assert_unreached("savePlaylist() successCallback should not be invoked");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("list");
+ mcServer.deletePlaylist("list");
+ mcServer.savePlaylist(playlist, successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_exist
+//==== LABEL Check if savePlaylist exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "savePlaylist");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_misarg
+//==== LABEL Check if savePlaylist method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.savePlaylist();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_playlist_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_playlist_TypeMismatch
+//==== LABEL Check if savePlaylist throws exception when playlist is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, playlist, conversionTable, exceptionName, i;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ conversionTable = getTypeConversionExceptions("object", false);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ playlist = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.savePlaylist(playlist)
+ }, "Given incorrect playlist");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_successCallback_TypeMismatch
+//==== LABEL Check if savePlaylist throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, conversionTable,
+ exceptionName, i, successCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.savePlaylist(playlist, successCallback)
+ }, "Given incorrect success callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_successCallback_invalid_cb
+//==== LABEL Check if savePlaylist throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.savePlaylist(playlist, incorrectCallback);
+ }, "Given incorrect successCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_with_errorCallback
+//==== LABEL Check if MediaControllerServer savePlaylist method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, successCallback,
+ errorCallback, retVal = null;
+
+t.step(function () {
+ add_result_callback(function () {
+ mcServer.deletePlaylist("list");
+ });
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("savePlaylist() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "savePlaylist should return undefined");
+ t.done();
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("list");
+ retVal = mcServer.savePlaylist(playlist, successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateIconURI</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateIconURI
+//==== LABEL Check if MediaControllerServer updateIconURI method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateIconURI M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var server, client, sinfo, uri = "http://example.com/res/icon2.ico", retVal = null;
+
+ server = tizen.mediacontroller.createServer();
+ server.updatePlaybackState("PLAY");
+ client = tizen.mediacontroller.getClient();
+ sinfo = client.getLatestServerInfo();
+ retVal = server.updateIconURI(uri);
+ assert_equals(retVal, undefined, "updateIconURI should return undefined");
+ assert_equals(sinfo.iconURI, uri, "update iconURI failed");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateIconURI_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateIconURI_exist
+//==== LABEL Check if method updateIconURI of MediaControllerServer exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateIconURI M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updateIconURI");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateMetadata</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateMetadata
+//==== LABEL Check if updateMetadata() works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateMetadata M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, metadata, retValue;
+
+ mcServer = tizen.mediacontroller.createServer();
+ metadata = mcServer.playbackInfo.metadata;
+ metadata.artist = "Artist Name";
+ retValue = mcServer.updateMetadata(metadata);
+ assert_equals(retValue, undefined, "updateMetadata returns wrong value");
+ metadata.artist = "New Name";
+ mcServer.updateMetadata(metadata);
+ assert_equals(mcServer.playbackInfo.metadata.artist, "New Name", "artist should be updated");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateMetadata_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateMetadata_exist
+//==== LABEL Check if method updateMetadata of MediaControllerServer exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateMetadata M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updateMetadata");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateMetadata_invalid_obj</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateMetadata_invalid_obj
+//==== LABEL Check if updateMetadata() method throw exception when a fake system object was passed
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateMetadata M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTO
+
+test(function () {
+ var mcServer, metadata;
+
+ mcServer = tizen.mediacontroller.createServer();
+ metadata = {
+ invalid_title: "Black Widow",
+ invalid_artist: "Iggy Azalea",
+ invalid_album: "The New Classic",
+ invalid_author: "Iggy Azalea",
+ invalid_genre: "popular",
+ invalid_duration: "03:28",
+ invalid_date: "2014-04-22",
+ invalid_copyright: "Iggy Azalea",
+ invalid_description: "Like a black widow, baby",
+ invalid_trackNum: "123",
+ invalid_picture: "aa"
+ };
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updateMetadata(metadata);
+ }, "fake system object was pased but exception wasn't thrown");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateMetadata_metadata_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateMetadata_metadata_TypeMismatch
+//==== LABEL Check argument metadata conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateMetadata M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, metadata, exceptionName, i, conversionTable;
+
+ conversionTable = getTypeConversionExceptions("object", false);
+ mcServer= tizen.mediacontroller.createServer();
+
+ for (i = 0; i < conversionTable.length; i++) {
+ metadata = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.updateMetadata(metadata);
+ }, exceptionName + " should be thrown - given incorrect metadata.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateMetadata_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateMetadata_misarg
+//==== LABEL Check if updateMetadata method of MediaControllerServer called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateMetadata M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updateMetadata();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackAgeRating</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackAgeRating
+//==== LABEL Check if MediaControllerServer updatePlaybackAgeRating method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackAgeRating M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, retVal = null;
+
+ mcServer= tizen.mediacontroller.createServer();
+ mcServer.updatePlaybackAgeRating("1");
+ retVal = mcServer.updatePlaybackAgeRating("2");
+ assert_equals(retVal, undefined, "updatePlaybackAgeRating should return undefined");
+ assert_equals(mcServer.playbackInfo.ageRating, "2", "ageRating should be updated");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackAgeRating_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackAgeRating_exist
+//==== LABEL Check if updatePlaybackAgeRating exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackAgeRating M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updatePlaybackAgeRating");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackAgeRating_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackAgeRating_misarg
+//==== LABEL Check if updatePlaybackAgeRating method of MediaControllerServer called with missing non-optional argument should throw an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackAgeRating M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+ mcServer= tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updatePlaybackAgeRating();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch
+//==== LABEL Check argument rating conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackAgeRating M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, rating, exceptionName, i, conversionTable;
+
+ conversionTable = getTypeConversionExceptions("enum", false);
+ mcServer= tizen.mediacontroller.createServer();
+
+ for (i = 0; i < conversionTable.length; i++) {
+ rating = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.updatePlaybackAgeRating(rating);
+ }, exceptionName + " should be thrown - given incorrect rating.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackContentType</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackContentType
+//==== LABEL Check if MediaControllerServer updatePlaybackContentType method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackContentType M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, retVal = null;
+
+ mcServer= tizen.mediacontroller.createServer();
+ retVal = mcServer.updatePlaybackContentType("MUSIC");
+ assert_equals(retVal, undefined, "updatePlaybackContentType should return undefined");
+ assert_equals(mcServer.playbackInfo.contentType, "MUSIC", "contentType should be updated");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch
+//==== LABEL Check argument contentType conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackContentType M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, contentType, exceptionName, i, conversionTable;
+
+ conversionTable = getTypeConversionExceptions("enum", false);
+ mcServer= tizen.mediacontroller.createServer();
+
+ for (i = 0; i < conversionTable.length; i++) {
+ contentType = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.updatePlaybackContentType(contentType);
+ }, exceptionName + " should be thrown - given incorrect contentType.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackContentType_contentType_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackContentType_contentType_invalid
+//==== LABEL Check updatePlaybackContentType throws type exception with invalid contentType value
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackContentType M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer;
+
+ mcServer= tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updatePlaybackContentType("ABC");
+ }, "Calling updatePlaybackContentType with invalid arguments should throw an exception.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackContentType_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackContentType_exist
+//==== LABEL Check if updatePlaybackContentType exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackContentType M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updatePlaybackContentType");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackContentType_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackContentType_misarg
+//==== LABEL Check if updatePlaybackContentType method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackContentType M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer= tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updatePlaybackContentType();
+ }, "Calling updatePlaybackContentType without arguments should throw an exception.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackItem</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackItem
+//==== LABEL Check if MediaControllerServer updatePlaybackItem method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, metadata, playlist, retVal = null;
+
+ mcServer= tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("PlayList");
+ metadata =
+ {
+ title: "testTitle"
+ };
+ playlist.addItem("index1", metadata);
+ mcServer.savePlaylist(playlist);
+ retVal = mcServer.updatePlaybackItem("PlayList", "index1");
+ assert_equals(retVal, undefined, "updatePlaybackItem returns wrong value");
+ assert_equals(mcServer.playbackInfo.index, "index1", "update index failed");
+ mcServer.deletePlaylist("PlayList");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackItem_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackItem_exist
+//==== LABEL Check if method updatePlaybackItem of MediaControllerServer exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updatePlaybackItem");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackPosition</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackPosition
+//==== LABEL Check if MediaControllerServer updatePlaybackPosition method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, retVal = null, beforeposition;
+
+ mcServer = tizen.mediacontroller.createServer();
+ beforeposition = mcServer.playbackInfo.position;
+ retVal = mcServer.updatePlaybackPosition(beforeposition + 10);
+ assert_equals(retVal, undefined, "updatePlaybackPosition should return undefined");
+ assert_greater_than_equal(mcServer.playbackInfo.position, beforeposition + 10, "position should be updated");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackPosition_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackPosition_exist
+//==== LABEL Check if updatePlaybackPosition exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updatePlaybackPosition");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackPosition_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackPosition_misarg
+//==== LABEL Check if updatePlaybackPosition method of MediaControllerServer called with missing non-optional argument does not throw any exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer= tizen.mediacontroller.createServer();
+ try {
+ mcServer.updatePlaybackPosition();
+ } catch (e) {
+ assert_unreached("Calling updatePlaybackPosition without arguments should NOT throw an exception.");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackPosition_position_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackPosition_position_invalid
+//==== LABEL Check if updatePlaybackPosition method of MediaControllerServer called with negative value should NOT throw an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer= tizen.mediacontroller.createServer();
+ try {
+ mcServer.updatePlaybackPosition(-1);
+ } catch (e) {
+ assert_unreached("Calling updatePlaybackPosition with negative value should NOT throw an exception.");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackState</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackState
+//==== LABEL Check if MediaControllerServer updatePlaybackState method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, retVal = null;
+
+ mcServer= tizen.mediacontroller.createServer();
+ retVal = mcServer.updatePlaybackState("PLAY");
+ assert_equals(retVal, undefined, "updatePlaybackState should return undefined");
+ mcServer.updatePlaybackState("NEXT");
+ assert_equals(mcServer.playbackInfo.state, "NEXT", "state should be updated");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackState_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackState_exist
+//==== LABEL Check if updatePlaybackState exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updatePlaybackState");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackState_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackState_misarg
+//==== LABEL Check if updatePlaybackState method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer= tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updatePlaybackState();
+ }, "Calling updatePlaybackState without arguments should throw an exception.");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackState_state_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackState_state_TypeMismatch
+//==== LABEL Check argument state conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, state, exceptionName, i, conversionTable;
+
+ conversionTable = getTypeConversionExceptions("enum", false);
+ mcServer= tizen.mediacontroller.createServer();
+
+ for (i = 0; i < conversionTable.length; i++) {
+ state = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.updatePlaybackState(state);
+ }, exceptionName + " should be thrown - given incorrect state.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackState_state_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackState_state_invalid
+//==== LABEL Check updatePlaybackState throws type exception with invalid state value
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer;
+
+ mcServer= tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updatePlaybackState("ABC");
+ }, "Calling updatePlaybackState with invalid arguments should throw an exception.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateRepeatState</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateRepeatState
+//==== LABEL Check if MediaControllerServer updateRepeatState method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, retVal = null;
+
+ mcServer= tizen.mediacontroller.createServer();
+ mcServer.updateRepeatState("REPEAT_OFF");
+ retVal = mcServer.updateRepeatState("REPEAT_ONE");
+ assert_equals(retVal, undefined, "updateRepeatState should return undefined");
+ assert_equals(mcServer.playbackInfo.repeatState, "REPEAT_ONE", "repeatState should be updated");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateRepeatState_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateRepeatState_exist
+//==== LABEL Check if updateRepeatState exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updateRepeatState");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateRepeatState_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateRepeatState_misarg
+//==== LABEL Check if updateRepeatState method of MediaControllerServer called with missing non-optional argument should throw an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+ mcServer= tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updateRepeatState();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateRepeatState_state_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateRepeatState_state_TypeMismatch
+//==== LABEL Check argument state conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, state, exceptionName, i, conversionTable;
+
+ conversionTable = getTypeConversionExceptions("enum", false);
+ mcServer= tizen.mediacontroller.createServer();
+
+ for (i = 0; i < conversionTable.length; i++) {
+ state = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.updateRepeatState(state);
+ }, exceptionName + " should be thrown - given incorrect state.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateShuffleMode</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateShuffleMode
+//==== LABEL Check if MediaControllerServer updateShuffleMode method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, retVal = null, beforemode;
+
+ mcServer= tizen.mediacontroller.createServer();
+ beforemode = mcServer.playbackInfo.shuffleMode;
+ retVal = mcServer.updateShuffleMode(!beforemode);
+ assert_equals(retVal, undefined, "updateShuffleMode should return undefined");
+ assert_equals(mcServer.playbackInfo.shuffleMode, !beforemode, "shuffleMode should be updated");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateShuffleMode_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateShuffleMode_exist
+//==== LABEL Check if updateShuffleMode exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updateShuffleMode");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateShuffleMode_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateShuffleMode_misarg
+//==== LABEL Check if updateShuffleMode method of MediaControllerServer called with missing non-optional argument does NOT throw an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer= tizen.mediacontroller.createServer();
+ try {
+ mcServer.updateShuffleMode();
+ } catch(e) {
+ assert_unreached("Calling updateShuffleMode without arguments should not throw an exception.");
+ }
+ assert_equals(mcServer.playbackInfo.shuffleMode, false, "Expected false, but got " + mcServer.playbackInfo.shuffleMode);
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
</spec>
</specs>
</testcase>
+ <testcase purpose="Check if MediaControllerServer updateIconURI method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updateIconURI">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateIconURI.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateIconURI" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateIconURI exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updateIconURI_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateIconURI_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateIconURI" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if addChangeRequestPlaybackInfoListener() works properly" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_addChangeRequestPlaybackInfoListener">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addChangeRequestPlaybackInfoListener" 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 addChangeRequestPlaybackInfoListener of MediaControllerServer exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addChangeRequestPlaybackInfoListener" 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 addChangeRequestPlaybackInfoListener throws exception when listener is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addChangeRequestPlaybackInfoListener" 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 addChangeRequestPlaybackInfoListener throws exception when callback is inavlid listener" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addChangeRequestPlaybackInfoListener" 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 addChangeRequestPlaybackInfoListener method of MediaControllerServer 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="MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addChangeRequestPlaybackInfoListener" 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 removeChangeRequestPlaybackInfoListener() works properly" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeChangeRequestPlaybackInfoListener" 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 removeChangeRequestPlaybackInfoListener of MediaControllerServer exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeChangeRequestPlaybackInfoListener" 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 removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with missing non-optional argument does NOT throw any exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeChangeRequestPlaybackInfoListener" 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 removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with invalid value does not throw any exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeChangeRequestPlaybackInfoListener" 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 MediaControllerServerInfo sendPlaybackPosition method without optional argument works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendPlaybackPosition">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 sendPlaybackPosition throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 sendPlaybackPosition throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 sendPlaybackPosition exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_sendPlaybackPosition_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 sendPlaybackPosition method called with missing non-optional argument does NOT throw an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackPosition_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 sendPlaybackPosition throws exception when successCallback is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 sendPlaybackPosition throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 MediaControllerServerInfo sendPlaybackPosition method with all optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 MediaControllerServerInfo sendPlaybackState method without optional argument works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendPlaybackState">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendPlaybackState throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendPlaybackState throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendPlaybackState exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_sendPlaybackState_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendPlaybackState 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="MediaControllerServerInfo_sendPlaybackState_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendPlaybackState throws exception when state is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendPlaybackState throws exception when successCallback is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendPlaybackState throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 MediaControllerServerInfo sendPlaybackState method with all optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendPlaybackState_with_errorCallback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendRepeatState() works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendRepeatState">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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 errorCallback conversions exception" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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 sendRepeatState throws exception when errorCallback is invalid" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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 sendRepeatState of MediaControllerServerInfo exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_sendRepeatState_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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 state conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendRepeatState_state_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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="MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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 sendRepeatState 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="MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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 sendRepeatState method works properly with errorCallback argument" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendRepeatState_with_errorCallback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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 MediaControllerServerInfo sendShuffleMode method without optional argument works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendShuffleMode">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" 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 sendShuffleMode throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" 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 sendShuffleMode throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" 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 sendShuffleMode exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_sendShuffleMode_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" 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 sendShuffleMode throws exception when successCallback is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" 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 sendShuffleMode throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" 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 MediaControllerServerInfo sendShuffleMode method with all optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendShuffleMode_with_errorCallback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" 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 MediaControllerServerInfo addPlaybackInfoChangeListener method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_addPlaybackInfoChangeListener">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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 addPlaybackInfoChangeListener exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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 addPlaybackInfoChangeListener throws exception when listener is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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 addPlaybackInfoChangeListener throws exception when listener is invalid" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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 addPlaybackInfoChangeListener 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="MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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 MediaControllerServerInfo removePlaybackInfoChangeListener method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_removePlaybackInfoChangeListener">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="removePlaybackInfoChangeListener" 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 removePlaybackInfoChangeListener exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="removePlaybackInfoChangeListener" 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 removePlaybackInfoChangeListener method called with missing non-optional argument does not throw any exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="removePlaybackInfoChangeListener" 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 removePlaybackInfoChangeListener method of MediaControllerServerInfo called with invalid value throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="removePlaybackInfoChangeListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_createPlaylist_exist" priority="P0" purpose="Check if createPlaylist exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_createPlaylist_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="createPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_createPlaylist" priority="P1" purpose="Check if MediaControllerServer createPlaylist method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_createPlaylist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="createPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_createPlaylist_invalid" priority="P2" purpose="Check if createPlaylist thrown invalid exception when playlist name already exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_createPlaylist_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="createPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer savePlaylist method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_exist" priority="P0" purpose="Check if savePlaylist exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_misarg" priority="P2" purpose="Check if savePlaylist method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_playlist_TypeMismatch" priority="P2" purpose="Check if savePlaylist throws exception when state is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_playlist_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_successCallback_TypeMismatch" priority="P2" purpose="Check if savePlaylist throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer savePlaylist method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_invoke" onload_delay="30" priority="P2" purpose="Check if errorCallback invoked when playlist with given name does not exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_errorCallback_invoke.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer deletePlaylist method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_exist" priority="P0" purpose="Check if deletePlaylist exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_successCallback_TypeMismatch" priority="P2" purpose="Check if deletePlaylist throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer deletePlaylist method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_invoke" onload_delay="30" priority="P2" purpose="Check if errorCallback invoked when playlist with given name does not exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_errorCallback_invoke.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer getAllPlaylists method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_exist" priority="P0" purpose="Check if getAllPlaylists exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_misarg" priority="P2" purpose="Check if getAllPlaylists method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer getAllPlaylists method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo getAllPlaylists method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists_exist" priority="P0" purpose="Check if getAllPlaylists exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists_misarg" priority="P2" purpose="Check if getAllPlaylists method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo getAllPlaylists method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_sendPlaybackItem" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackItem method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="sendPlaybackItem" 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="MediaControllerServerInfo_sendPlaybackItem_exist" priority="P0" purpose="Check if sendPlaybackItem exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="sendPlaybackItem" 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="MediaControllerServerInfo_sendPlaybackItem_misarg" priority="P2" purpose="Check if sendPlaybackItem method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="sendPlaybackItem" 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="MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch" priority="P2" purpose="Check if sendPlaybackItem throws exception when state is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="sendPlaybackItem" 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="MediaControllerServerInfo_addPlaylistUpdatedListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo addPlaylistUpdatedListener method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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="MediaControllerServerInfo_addPlaylistUpdatedListener_exist" priority="P0" purpose="check if addPlaylistUpdatedListener exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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="MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch" priority="P2" purpose="Check if addPlaylistUpdatedListener throws exception when listener is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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="MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid" priority="P2" purpose="Check if addPlaylistUpdatedListener throws exception when listener is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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="MediaControllerServerInfo_addPlaylistUpdatedListener_misarg" priority="P2" purpose="Check if addPlaylistUpdatedListener method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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="MediaControllerServerInfo_removePlaylistUpdatedListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo removePlaylistUpdatedListener method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaylistUpdatedListener.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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="MediaControllerServerInfo_removePlaylistUpdatedListener_exist" priority="P0" purpose="check if removePlaylistUpdatedListener exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaylistUpdatedListener_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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="MediaControllerServerInfo_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-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaylistUpdatedListener_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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 purpose="Check if attribute playbackInfo of MediaControllerServer exists, has type MediaControllerPlaybackInfo and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_playbackInfo_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_playbackInfo_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="attribute" element_name="playbackInfo" 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 playbackInfo of MediaControllerServerInfo exists, has type MediaControllerPlaybackInfo and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_playbackInfo_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_playbackInfo_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="attribute" element_name="playbackInfo" 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 updateMetadata() works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updateMetadata">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateMetadata" 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 updateMetadata of MediaControllerServer exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updateMetadata_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateMetadata" 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 updateMetadata() method throw exception when a fake system object was passed" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updateMetadata_invalid_obj">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_invalid_obj.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateMetadata" 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 metadata conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updateMetadata_metadata_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_metadata_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateMetadata" 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 updateMetadata method of MediaControllerServer 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="MediaControllerServer_updateMetadata_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateMetadata" 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 MediaControllerServer updatePlaybackPosition method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updatePlaybackPosition">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackPosition" 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 updatePlaybackPosition exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updatePlaybackPosition_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackPosition" 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 updatePlaybackPosition method of MediaControllerServer called with missing non-optional argument does not throw any exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackPosition_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackPosition" 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 updatePlaybackPosition method of MediaControllerServer called with negative value should NOT throw an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackPosition_position_invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition_position_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackPosition" 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 MediaControllerServer updatePlaybackState method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updatePlaybackState">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackState" 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 updatePlaybackState exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updatePlaybackState_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackState" 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 updatePlaybackState 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="MediaControllerServer_updatePlaybackState_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackState" 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 state conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackState_state_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackState" 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 updatePlaybackState throws type exception with invalid state value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackState_state_invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_state_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackState" 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 MediaControllerServer updateRepeatState method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updateRepeatState">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateRepeatState" 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 updateRepeatState exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updateRepeatState_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateRepeatState" 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 updateRepeatState method of MediaControllerServer called with missing non-optional argument does NOT throw an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updateRepeatState_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateRepeatState" 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 state conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updateRepeatState_state_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateRepeatState" 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 MediaControllerServer updateShuffleMode method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updateShuffleMode">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateShuffleMode.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateShuffleMode" 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 updateShuffleMode exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updateShuffleMode_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateShuffleMode_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateShuffleMode" 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 updateShuffleMode method of MediaControllerServer called with missing non-optional argument does NOT throw an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updateShuffleMode_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateShuffleMode_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateShuffleMode" 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 ageRating of MediaControllerPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_ageRating_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_ageRating_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="ageRating" 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 MediaControllerServer updatePlaybackAgeRating method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updatePlaybackAgeRating">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackAgeRating" 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 updatePlaybackAgeRating exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updatePlaybackAgeRating_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackAgeRating" 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 updatePlaybackAgeRating method of MediaControllerServer called with missing non-optional argument does NOT throw an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackAgeRating_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackAgeRating" 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 rating conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackAgeRating" 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 MediaControllerServer updatePlaybackContentType method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updatePlaybackContentType">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackContentType" 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 updatePlaybackState exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updatePlaybackContentType_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackContentType" 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 updatePlaybackState 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="MediaControllerServer_updatePlaybackContentType_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackContentType" 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 state conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackContentType" 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 updatePlaybackState throws type exception with invalid state value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackContentType_contentType_invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_contentType_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackContentType" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_updatePlaybackItem_exist" priority="P0" purpose="Check if updatePlaybackItem exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackItem_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="updatePlaybackItem" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_updatePlaybackItem" priority="P1" purpose="Check if MediaControllerServer updatePlaybackItem method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackItem.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="updatePlaybackItem" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if MediaControllerPlaybackInfo object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerPlaybackInfo_extend">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_extend.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" 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 interface MediaControllerPlaybackInfo exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerPlaybackInfo_notexist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_notexist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" 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 ageRating of MediaControllerPlaybackInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_ageRating_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_ageRating_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="ageRating" 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 metadata of MediaControllerPlaybackInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_metadata_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_metadata_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="metadata" 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 position of MediaControllerPlaybackInfo exists, has type long and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_position_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_position_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="position" 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 repeatState of MediaControllerPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_repeatState_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_repeatState_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="repeatMode" 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 shuffleMode of MediaControllerPlaybackInfo exists, has type boolean and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_shuffleMode_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_shuffleMode_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="shuffleMode" 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 state of MediaControllerPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_state_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_state_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="state" 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="MediaControllerPlaybackInfo_index_attribute" priority="P1" purpose="Check if attribute index of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_index_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" 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="MediaControllerPlaybackInfo_playlistName_attribute" priority="P1" purpose="Check if attribute playlistName of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_playlistName_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" 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 contentType of MediaControllerPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_contentType_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_contentType_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="contentType" element_name="repeatMode" 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 MediaControllerPlaybackInfoChangeCallback onplaybackstaterequest is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerChangeRequestPlaybackInfoCallback_onplaybackstaterequest">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_onplaybackstaterequest.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerChangeRequestPlaybackInfoCallback" element_type="method" element_name="onplaybackstaterequest" 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>
<set name="Content">
<testcase purpose="Check if ContentDirectory have storageType attribute with proper type, readonly, not null" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectory_storageType_attribute">
</testcase>
</set>
<set name="MediaController_mobile" type="js">
- <capabilities>
- <capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
- </capabilities>
<testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateRepeatMode" priority="P1" purpose="Check if MediaControllerServer updateRepeatMode method works properly">
<description>
<test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatMode.html</test_script_entry>
<test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfoChangeCallback_onrepeatmodechanged.html</test_script_entry>
</description>
</testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateIconURI" priority="P1" purpose="Check if MediaControllerServer updateIconURI method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateIconURI.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateIconURI_exist" priority="P0" purpose="Check if updateIconURI exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateIconURI_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addChangeRequestPlaybackInfoListener" onload_delay="90" priority="P1" purpose="Check if addChangeRequestPlaybackInfoListener() works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_exist" priority="P0" purpose="Check if method addChangeRequestPlaybackInfoListener of MediaControllerServer exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch" priority="P2" purpose="Check if addChangeRequestPlaybackInfoListener throws exception when listener is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid" priority="P2" purpose="Check if addChangeRequestPlaybackInfoListener throws exception when callback is inavlid listener">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg" priority="P2" purpose="Check if addChangeRequestPlaybackInfoListener method of MediaControllerServer called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener" onload_delay="90" priority="P1" purpose="Check if removeChangeRequestPlaybackInfoListener() works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist" priority="P0" purpose="Check if method removeChangeRequestPlaybackInfoListener of MediaControllerServer exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg" priority="P2" purpose="Check if removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with missing non-optional argument does NOT throw any exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid" priority="P2" purpose="Check if removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with invalid value does not throw any exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackPosition method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if sendPlaybackPosition throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendPlaybackPosition throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_exist" priority="P0" purpose="Check if sendPlaybackPosition exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_misarg" priority="P2" purpose="Check if sendPlaybackPosition method called with missing non-optional argument does NOT throw an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch" priority="P2" purpose="Check if sendPlaybackPosition throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendPlaybackPosition throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackPosition method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackState method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if sendPlaybackState throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendPlaybackState throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_exist" priority="P0" purpose="Check if sendPlaybackState exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_misarg" priority="P2" purpose="Check if sendPlaybackState method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch" priority="P2" purpose="Check if sendPlaybackState throws exception when state is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch" priority="P2" purpose="Check if sendPlaybackState throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendPlaybackState throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackState method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState" priority="P1" purpose="Check if sendRepeatState() works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch" onload_delay="90" priority="P2" purpose="Check argument errorCallback conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if sendRepeatState throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_exist" priority="P0" purpose="Check if method sendRepeatState of MediaControllerServerInfo exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_state_TypeMismatch" priority="P2" purpose="Check argument state conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch" priority="P2" purpose="Check argument successCallback conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if sendRepeatState throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_with_errorCallback" onload_delay="90" priority="P1" purpose="Check if sendRepeatState method works properly with errorCallback argument">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendShuffleMode method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if sendShuffleMode throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendShuffleMode throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_exist" priority="P0" purpose="Check if sendShuffleMode exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch" priority="P2" purpose="Check if sendShuffleMode throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendShuffleMode throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendShuffleMode method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaybackInfoChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo addPlaybackInfoChangeListener method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_exist" priority="P0" purpose="check if addPlaybackInfoChangeListener exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch" priority="P2" purpose="Check if addPlaybackInfoChangeListener throws exception when listener is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid" priority="P2" purpose="Check if addPlaybackInfoChangeListener throws exception when listener is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg" priority="P2" purpose="Check if addPlaybackInfoChangeListener method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaybackInfoChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo removePlaybackInfoChangeListener method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_exist" priority="P0" purpose="check if removePlaybackInfoChangeListener exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg" priority="P2" purpose="Check if removePlaybackInfoChangeListener method called with missing non-optional argument does not throw any exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid" priority="P2" purpose="Check if removePlaybackInfoChangeListener method of MediaControllerServerInfo called with invalid value throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_createPlaylist_exist" priority="P0" purpose="Check if createPlaylist exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_createPlaylist_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_createPlaylist" priority="P1" purpose="Check if MediaControllerServer createPlaylist method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_createPlaylist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_createPlaylist_invalid" priority="P2" purpose="Check if createPlaylist thrown invalid exception when playlist name already exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_createPlaylist_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer savePlaylist method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_exist" priority="P0" purpose="Check if savePlaylist exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_misarg" priority="P2" purpose="Check if savePlaylist method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_playlist_TypeMismatch" priority="P2" purpose="Check if savePlaylist throws exception when state is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_playlist_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_successCallback_TypeMismatch" priority="P2" purpose="Check if savePlaylist throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer savePlaylist method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_invoke" onload_delay="30" priority="P2" purpose="Check if errorCallback invoked when playlist with given name does not exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_errorCallback_invoke.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer deletePlaylist method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_exist" priority="P0" purpose="Check if deletePlaylist exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_successCallback_TypeMismatch" priority="P2" purpose="Check if deletePlaylist throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer deletePlaylist method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_invoke" onload_delay="30" priority="P2" purpose="Check if errorCallback invoked when playlist with given name does not exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_errorCallback_invoke.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer getAllPlaylists method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_exist" priority="P0" purpose="Check if getAllPlaylists exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_misarg" priority="P2" purpose="Check if getAllPlaylists method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer getAllPlaylists method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo getAllPlaylists method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_exist" priority="P0" purpose="Check if getAllPlaylists exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_misarg" priority="P2" purpose="Check if getAllPlaylists method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo getAllPlaylists method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackItem" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackItem method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackItem_exist" priority="P0" purpose="Check if sendPlaybackItem exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackItem_misarg" priority="P2" purpose="Check if sendPlaybackItem method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch" priority="P2" purpose="Check if sendPlaybackItem throws exception when state is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaylistUpdatedListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo addPlaylistUpdatedListener method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaylistUpdatedListener_exist" priority="P0" purpose="check if addPlaylistUpdatedListener exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch" priority="P2" purpose="Check if addPlaylistUpdatedListener throws exception when listener is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid" priority="P2" purpose="Check if addPlaylistUpdatedListener throws exception when listener is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaylistUpdatedListener_misarg" priority="P2" purpose="Check if addPlaylistUpdatedListener method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaylistUpdatedListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo removePlaylistUpdatedListener method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaylistUpdatedListener.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaylistUpdatedListener_exist" priority="P0" purpose="check if removePlaylistUpdatedListener exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaylistUpdatedListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_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-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaylistUpdatedListener_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_playbackInfo_attribute" priority="P1" purpose="Check if attribute playbackInfo of MediaControllerServer exists, has type MediaControllerPlaybackInfo and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_playbackInfo_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_playbackInfo_attribute" priority="P1" purpose="Check if attribute playbackInfo of MediaControllerServerInfo exists, has type MediaControllerPlaybackInfo and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_playbackInfo_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateMetadata" priority="P1" purpose="Check if updateMetadata() works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateMetadata_exist" priority="P0" purpose="Check if method updateMetadata of MediaControllerServer exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateMetadata_invalid_obj" priority="P2" purpose="Check if updateMetadata() method throw exception when a fake system object was passed">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_invalid_obj.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateMetadata_metadata_TypeMismatch" priority="P2" purpose="Check argument metadata conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_metadata_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateMetadata_misarg" priority="P2" purpose="Check if updateMetadata method of MediaControllerServer called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackPosition" priority="P1" purpose="Check if MediaControllerServer updatePlaybackPosition method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackPosition_exist" priority="P0" purpose="Check if updatePlaybackPosition exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackPosition_misarg" priority="P2" purpose="Check if updatePlaybackPosition method of MediaControllerServer called with missing non-optional argument does not throw any exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackPosition_position_invalid" priority="P2" purpose="Check if updatePlaybackPosition method of MediaControllerServer called with negative value should NOT throw an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition_position_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackState" priority="P1" purpose="Check if MediaControllerServer updatePlaybackState method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackState_exist" priority="P0" purpose="Check if updatePlaybackState exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackState_misarg" priority="P2" purpose="Check if updatePlaybackState method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackState_state_TypeMismatch" priority="P2" purpose="Check argument state conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackState_state_invalid" priority="P2" purpose="Check updatePlaybackState throws type exception with invalid state value">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_state_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateRepeatState" priority="P1" purpose="Check if MediaControllerServer updateRepeatState method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateRepeatState_exist" priority="P0" purpose="Check if updateRepeatState exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateRepeatState_misarg" priority="P2" purpose="Check if updateRepeatState method of MediaControllerServer called with missing non-optional argument does NOT throw an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateRepeatState_state_TypeMismatch" priority="P2" purpose="Check argument state conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateShuffleMode" priority="P1" purpose="Check if MediaControllerServer updateShuffleMode method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateShuffleMode.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateShuffleMode_exist" priority="P0" purpose="Check if updateShuffleMode exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateShuffleMode_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateShuffleMode_misarg" priority="P2" purpose="Check if updateShuffleMode method of MediaControllerServer called with missing non-optional argument does NOT throw an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateShuffleMode_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackAgeRating" priority="P1" purpose="Check if MediaControllerServer updatePlaybackAgeRating method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackAgeRating_exist" priority="P0" purpose="Check if updatePlaybackAgeRating exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackAgeRating_misarg" priority="P2" purpose="Check if updatePlaybackAgeRating method of MediaControllerServer called with missing non-optional argument should throw an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch" priority="P2" purpose="Check argument rating conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackItem_exist" priority="P0" purpose="Check if updatePlaybackItem exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackItem_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackItem" priority="P1" purpose="Check if MediaControllerServer updatePlaybackItem method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackItem.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackContentType" priority="P1" purpose="Check if MediaControllerServer updatePlaybackContentType method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackContentType_exist" priority="P0" purpose="Check if updatePlaybackContentType exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackContentType_misarg" priority="P2" purpose="Check if updatePlaybackContentType method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch" priority="P2" purpose="Check argument contentType conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackContentType_contentType_invalid" priority="P2" purpose="Check updatePlaybackState throws type exception with invalid contentType value">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_contentType_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_extend" priority="P3" purpose="Check if MediaControllerPlaybackInfo object is extendable">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_extend.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_metadata_attribute" priority="P1" purpose="Check if attribute metadata of MediaControllerPlaybackInfo exists, has type object and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_metadata_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_notexist" priority="P3" purpose="Check if interface MediaControllerPlaybackInfo exists, it should not.">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_notexist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_position_attribute" priority="P1" purpose="Check if attribute position of MediaControllerPlaybackInfo exists, has type long and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_position_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_repeatState_attribute" priority="P1" purpose="Check if attribute repeatState of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_repeatState_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_shuffleMode_attribute" priority="P1" purpose="Check if attribute shuffleMode of MediaControllerPlaybackInfo exists, has type boolean and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_shuffleMode_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_state_attribute" priority="P1" purpose="Check if attribute state of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_state_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_ageRating_attribute" priority="P1" purpose="Check if attribute ageRating of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_ageRating_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_index_attribute" priority="P1" purpose="Check if attribute index of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_index_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_playlistName_attribute" priority="P1" purpose="Check if attribute playlistName of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_playlistName_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_contentType_attribute" priority="P1" purpose="Check if attribute contentType of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_contentType_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerChangeRequestPlaybackInfoCallback_onplaybackstaterequest" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaybackInfoChangeCallback onplaybackstaterequest is called and if its arguments have proper type">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_onplaybackstaterequest.html</test_script_entry>
+ </description>
+ </testcase>
</set>
<set name="Content">
<testcase purpose="Check if ContentDirectory have storageType attribute with proper type, readonly, not null" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectory_storageType_attribute">
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+<html>
+<head>
+<title>MediaControllerChangeRequestPlaybackInfoCallback_onplaybackstaterequest</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerChangeRequestPlaybackInfoCallback_onplaybackstaterequest
+//==== LABEL Check if MediaControllerPlaybackInfoChangeCallback onplaybackstaterequest is called and if its arguments have proper type
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerChangeRequestPlaybackInfoCallback:onplaybackstaterequest M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA CBOA CBT
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), watcherId, mcServer, mcClient, mcServerInfo, playbackRequestListener;
+
+t.step(function () {
+ playbackRequestListener = {
+ onplaybackstaterequest: t.step_func(function(state, clientName) {
+ assert_type(state, "string", "state should be a string");
+ assert_equals(state, "STOP", "state be requested to change");
+ assert_type(clientName, "string", "clientName should be a string");
+ assert_equals(clientName, mcServerInfo.name, "clientName should be correct");
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ mcServerInfo.sendPlaybackState("STOP");
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_ageRating_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_ageRating_attribute
+//==== LABEL Check if attribute ageRating of MediaControllerPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:ageRating A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO AVL
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_readonly(mcServer.playbackInfo, "ageRating", mcServer.playbackInfo.ageRating, "string", "20");
+ assert_in_array(mcServer.playbackInfo.ageRating, ["ALL", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19"], "Incorrect value of type");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_contentType_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_contentType_attribute
+//==== LABEL Check if attribute contentType of MediaControllerPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:contentType A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO AVL ADV
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ assert_equals(mcServer.playbackInfo.contentType, "UNDECIDED", "invalid default value of contentType");
+ check_readonly(mcServer.playbackInfo, "contentType", mcServer.playbackInfo.contentType, "string", "OTHER");
+ assert_in_array(mcServer.playbackInfo.contentType, ["IMAGE", "MUSIC", "VIDEO", "OTHER", "UNDECIDED"], "Incorrect value of type");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_extend</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_extend
+//==== LABEL Check if MediaControllerPlaybackInfo object is extendable
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:MediaControllerPlaybackInfo U
+//==== SPEC_URL TBD
+//==== PRIORITY P3
+//==== TEST_CRITERIA NIO
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_extensibility(mcServer.playbackInfo);
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_index_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_index_attribute
+//==== LABEL Check if attribute index of MediaControllerPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:index A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_readonly(mcServer.playbackInfo, "index", mcServer.playbackInfo.index, "string", "A");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_metadata_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_metadata_attribute
+//==== LABEL Check if attribute metadata of MediaControllerPlaybackInfo exists, has type object and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:metadata A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_readonly(mcServer.playbackInfo, "metadata", mcServer.playbackInfo.metadata, "object", null);
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_notexist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_notexist
+//==== LABEL Check if interface MediaControllerPlaybackInfo exists, it should not.
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:MediaControllerPlaybackInfo U
+//==== SPEC_URL TBD
+//==== PRIORITY P3
+//==== TEST_CRITERIA NIO
+
+test(function () {
+ check_no_interface_object("MediaControllerPlaybackInfo");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_playlistName_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_playlistName_attribute
+//==== LABEL Check if attribute playlistName of MediaControllerPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:playlistName A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_readonly(mcServer.playbackInfo, "playlistName", mcServer.playbackInfo.playlistName, "string", "A");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_position_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_position_attribute
+//==== LABEL Check if attribute position of MediaControllerPlaybackInfo exists, has type long and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:position A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_readonly(mcServer.playbackInfo, "position", mcServer.playbackInfo.position, "long", 100);
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_repeatState_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_repeatState_attribute
+//==== LABEL Check if attribute repeatState of MediaControllerPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:repeatState A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer, state;
+
+ mcServer= tizen.mediacontroller.createServer();
+ mcServer.updateRepeatState("REPEAT_OFF");
+ state = mcServer.playbackInfo.repeatState;
+ check_readonly(mcServer.playbackInfo, "repeatState", state, "string", "REPEAT_ALL");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_shuffleMode_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_shuffleMode_attribute
+//==== LABEL Check if attribute shuffleMode of MediaControllerPlaybackInfo exists, has type boolean and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:shuffleMode A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer, beforemode;
+
+ mcServer = tizen.mediacontroller.createServer();
+ beforemode = mcServer.playbackInfo.shuffleMode;
+ check_readonly(mcServer.playbackInfo, "shuffleMode", mcServer.playbackInfo.shuffleMode, "boolean", !beforemode);
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_state_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_state_attribute
+//==== LABEL Check if attribute state of MediaControllerPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:state A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO AVL
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_readonly(mcServer.playbackInfo, "state", mcServer.playbackInfo.state, "string", "FORWARD");
+ assert_in_array(mcServer.playbackInfo.state, ["PLAY", "PAUSE", "STOP", "NEXT", "PREV", "FORWARD", "REWIND"], "Incorrect value of type");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaybackInfoChangeListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaybackInfoChangeListener
+//==== LABEL Check if MediaControllerServerInfo addPlaybackInfoChangeListener method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, playbackListener, retVal = null;
+
+t.step(function () {
+ playbackListener = {
+ onplaybackchanged: t.step_func(function(state, position) {
+ assert_type(retVal, "long", "sendPlaybackPosition should return long");
+ assert_equals(state, "STOP", "state should be STOP");
+ mcServerInfo.removePlaybackInfoChangeListener(retVal);
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ retVal = mcServerInfo.addPlaybackInfoChangeListener(playbackListener);
+ mcServer.updatePlaybackState("STOP");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaybackInfoChangeListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaybackInfoChangeListener_exist
+//==== LABEL check if addPlaybackInfoChangeListener exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "addPlaybackInfoChangeListener");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch
+//==== LABEL Check if addPlaybackInfoChangeListener throws exception when listener is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, mcClient, mcServerInfo, playbackListener, exceptionName, conversionTable, i;
+
+test(function () {
+ conversionTable = getTypeConversionExceptions("object", false);
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+
+ for (i = 0; i < conversionTable.length; i++) {
+ playbackListener = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.addPlaybackInfoChangeListener(playbackListener);
+ }, exceptionName + " should be thrown - given incorrect listener.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid
+//==== LABEL Check if addPlaybackInfoChangeListener throws exception when listener is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTL
+
+var mcClient, mcServer, mcServerInfo, playbackListener, exceptionName, incorrectListener, i;
+
+test(function () {
+ incorrectListener = getListenerConversionExceptions(["onplaybackchanged", "onshufflemodechanged",
+ "onrepeatmodechanged", "onmetadatachanged"]);
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+
+ for (i = 0; i < incorrectListener.length; i++) {
+ playbackListener = incorrectListener[i][0];
+ exceptionName = incorrectListener[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.addPlaybackInfoChangeListener(playbackListener);
+ }, exceptionName + " should be thrown - given incorrect listener.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg
+//==== LABEL Check if addPlaybackInfoChangeListener method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcClient, mcServerInfo;
+
+ tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.addPlaybackInfoChangeListener();
+ }, "Calling addPlaybackInfoChangeListener without arguments should throw an exception.");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaylistUpdatedListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaylistUpdatedListener
+//==== LABEL Check if addPlaylistUpdatedListener() works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+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.deletePlaylist("list");
+ });
+ ondelete = {
+ onplaylistdeleted: t.step_func(function(playlistName) {
+ assert_type(watcherId, "long", "watcherId should be type of number");
+ mcServerInfo.removePlaylistUpdatedListener(watcherId);
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ playlist = mcServer.createPlaylist("list");
+ mcServer.savePlaylist(playlist);
+ watcherId = mcServerInfo.addPlaylistUpdatedListener(ondelete);
+
+ mcServer.deletePlaylist("list");
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaylistUpdatedListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaylistUpdatedListener_exist
+//==== LABEL Check if method addPlaylistUpdatedListener of MediaControllerServerInfo exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "addPlaylistUpdatedListener");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch
+//==== LABEL Check argument listener conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo: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();
+ mcServer.updatePlaybackState("PLAY");
+ 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.addPlaylistUpdatedListener(incorrectCallback);
+ }, exceptionName + " should be thrown - given incorrect callback - " + incorrectCallback);
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid
+//==== LABEL Check if addPlaylistUpdatedListener throws exception when callback is invalid listener
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo: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();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ incorrectListener = getListenerConversionExceptions(["onplaylistupdated"]);
+
+ for (i = 0; i < incorrectListener.length; i++) {
+ statusChangeListener = incorrectListener[i][0];
+ exceptionName = incorrectListener[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.addPlaylistUpdatedListener(statusChangeListener);
+ }, exceptionName + " should be thrown - given incorrect listener.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addServerStatusChangeListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addServerStatusChangeListener_misarg
+//==== LABEL Check if addServerStatusChangeListener method of MediaControllerServerInfo called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addServerStatusChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.addPlaylistUpdatedListener();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists
+//==== LABEL Check if MediaControllerServerInfo getAllPlaylists method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, successCallback, retVal = null;
+
+t.step(function () {
+ successCallback = t.step_func(function (playlists) {
+ assert_equals(retVal, undefined, "getAllPlaylists should return undefined");
+ t.done();
+ });
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ serverInfo = mcClient.getLatestServerInfo();
+ mcServer.createPlaylist("list");
+ retVal = serverInfo.getAllPlaylists(successCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch
+//==== LABEL Check if getAllPlaylists throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, conversionTable,
+ exceptionName, i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ serverInfo = mcClient.getLatestServerInfo();
+ mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("getAllPlaylists() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ serverInfo.getAllPlaylists(successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb
+//==== LABEL Check if getAllPlaylists throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("getAllPlaylists() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ serverInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ serverInfo.getAllPlaylists(successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists_exist
+//==== LABEL Check if getAllPlaylists exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, serverInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServer.createPlaylist("list");
+ serverInfo = mcClient.getLatestServerInfo();
+ check_method_exists(serverInfo, "getAllPlaylists");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists_misarg
+//==== LABEL Check if getAllPlaylists method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, serverInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServer.createPlaylist("list");
+ serverInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ serverInfo.getAllPlaylists();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch
+//==== LABEL Check if getAllPlaylists throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, conversionTable,
+ exceptionName, i, successCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServer.createPlaylist("list");
+ serverInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ serverInfo.getAllPlaylists(successCallback)
+ }, "Given incorrect success callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb
+//==== LABEL Check if getAllPlaylists throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ serverInfo = mcClient.getLatestServerInfo();
+ mcServer.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ serverInfo.getAllPlaylists(incorrectCallback);
+ }, "Given incorrect successCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists_with_errorCallback
+//==== LABEL Check if MediaControllerServerInfo getAllPlaylists method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, successCallback,
+ errorCallback, retVal = null;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("getAllPlaylists() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "getAllPlaylists should return undefined");
+ t.done();
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ serverInfo = mcClient.getLatestServerInfo();
+ retVal = serverInfo.getAllPlaylists(successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_playbackInfo_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_playbackInfo_attribute
+//==== LABEL Check if attribute playbackInfo of MediaControllerServerInfo exists, has type MediaControllerPlaybackInfo and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:playbackInfo A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_own_property(mcServerInfo, "playbackInfo", "mcServerInfo does not own playbackInfo property.");
+ assert_type(mcServerInfo.playbackInfo, "object", "playbackInfo should be an object");
+ mcServerInfo.playbackInfo = null;
+ assert_not_equals(mcServerInfo.playbackInfo, null, "playbackInfo should not be modified");
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_removePlaybackInfoChangeListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_removePlaybackInfoChangeListener
+//==== LABEL Check if MediaControllerServerInfo removePlaybackInfoChangeListener method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, playbackListener, watchId, retVal = null;
+
+t.step(function () {
+ playbackListener = {
+ onplaybackchanged: t.step_func(function(state, position) {
+ retVal = mcServerInfo.removePlaybackInfoChangeListener(watchId);
+ assert_equals(retVal, undefined, "removePlaybackInfoChangeListener returns wrong value");
+ try {
+ mcServerInfo.removePlaybackInfoChangeListener(watchId);
+ } catch(e) {
+ assert_unreached("Calling removePlaybackInfoChangeListener twice should not throw an exception.");
+ }
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watchId = mcServerInfo.addPlaybackInfoChangeListener(playbackListener);
+ mcServer.updatePlaybackState("STOP");
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_removePlaybackInfoChangeListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_removePlaybackInfoChangeListener_exist
+//==== LABEL check if removePlaybackInfoChangeListener exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "removePlaybackInfoChangeListener");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg
+//==== LABEL Check if removePlaybackInfoChangeListener method called with missing non-optional argument does not throw any exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ try {
+ mcServerInfo.removePlaybackInfoChangeListener();
+ } catch(e) {
+ assert_unreached("Calling removePlaybackInfoChangeListener without arguments should not throw an exception.");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid
+//==== LABEL Check if removePlaybackInfoChangeListener method of MediaControllerServerInfo called with invalid value throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ try {
+ mcServerInfo.removePlaybackInfoChangeListener(-1);
+ } catch (e) {
+ assert_unreached("Should not throw exception, but threw " + e.name);
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_removePlaylistUpdatedListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_removePlaylistUpdatedListener
+//==== LABEL Check if MediaControllerServerInfo removePlaylistUpdatedListener method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+//==== 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.deletePlaylist("list");
+ });
+ ondelete = {
+ onplaylistdeleted: t.step_func(function(playlistName) {
+ retVal = mcServerInfo.removePlaylistUpdatedListener(watcherId);
+ assert_equals(retVal, undefined, "return value should be undefined");
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ playlist = mcServer.createPlaylist("list");
+ mcServer.savePlaylist(playlist);
+ watcherId = mcServerInfo.addPlaylistUpdatedListener(ondelete);
+
+ mcServer.deletePlaylist("list");
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_removePlaylistUpdatedListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_removePlaylistUpdatedListener_exist
+//==== LABEL check if removePlaylistUpdatedListener exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "removePlaylistUpdatedListener");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_removePlaylistUpdatedListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_removePlaylistUpdatedListener_misarg
+//==== LABEL Check if removePlaylistUpdatedListener method called with missing non-optional argument does not throw any exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ try {
+ mcServerInfo.removePlaylistUpdatedListener();
+ } catch(e) {
+ assert_unreached("Calling removePlaylistUpdatedListener without arguments should not throw an exception.");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackItem</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackItem
+//==== LABEL Check if MediaControllerServerInfo sendPlaybackItem method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR
+
+test(function () {
+ var mcServer, mcClient, serverInfo, retVal = null;
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ serverInfo = mcClient.getLatestServerInfo();
+ mcServer.createPlaylist("list");
+ retVal = serverInfo.sendPlaybackItem("list", "1", "PLAY", 0);
+ assert_equals(retVal, undefined, "sendPlaybackItem should return undefined");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackItem_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackItem_exist
+//==== LABEL Check if sendPlaybackItem exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, serverInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServer.createPlaylist("list");
+ serverInfo = mcClient.getLatestServerInfo();
+ check_method_exists(serverInfo, "sendPlaybackItem");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+ <!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackItem_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackItem_misarg
+//==== LABEL Check if sendPlaybackItem method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, serverInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServer.createPlaylist("list");
+ serverInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ serverInfo.sendPlaybackItem();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch
+//==== LABEL Check if sendPlaybackItem throws exception when state is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, conversionTable,
+ exceptionName, i, state;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ serverInfo = mcClient.getLatestServerInfo();
+ mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("enum", false);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ state = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ serverInfo.sendPlaybackItem("list", "1", state, 0)
+ }, "Given incorrect state.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition
+//==== LABEL Check if MediaControllerServerInfo sendPlaybackPosition method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, watcherId, successCallback,
+ beforeposition, retVal = null, playbackRequestListener, flag = 0;
+
+t.step(function () {
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "sendPlaybackPosition should return undefined");
+ if(++flag == 2) t.done();
+ });
+
+ playbackRequestListener = {
+ onplaybackpositionrequest: t.step_func(function(position) {
+ assert_type(position, "long", "position should be a long number");
+ assert_greater_than_equal(position, beforeposition + 10, "position should be equal or bigger than set position");
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ if(++flag == 2) t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ beforeposition = mcServer.playbackInfo.position;
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ retVal = mcServerInfo.sendPlaybackPosition(beforeposition + 10, successCallback);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch
+//==== LABEL Check if sendPlaybackPosition throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, conversionTable, exceptionName,
+ i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("sendPlaybackPosition() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendPlaybackPosition(120, successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb
+//==== LABEL Check if sendPlaybackPosition throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("sendPlaybackPosition() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.sendPlaybackPosition(120, successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_exist
+//==== LABEL Check if sendPlaybackPosition exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "sendPlaybackPosition");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_misarg
+//==== LABEL Check if sendPlaybackPosition method called with missing non-optional argument does NOT throw an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ try {
+ mcServerInfo.sendPlaybackPosition();
+ } catch(e) {
+ assert_unreached("Should not throw any exception, but threw " + e.name + e.message);
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch
+//==== LABEL Check if sendPlaybackPosition throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i, successCallback;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendPlaybackPosition(120, successCallback)
+ }, "Given incorrect success callback.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb
+//==== LABEL Check if sendPlaybackPosition throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, errorCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("sendPlaybackPosition() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.sendPlaybackPosition(120, incorrectCallback, errorCallback);
+ }, "Given incorrect successCallback.");
+
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback
+//==== LABEL Check if MediaControllerServerInfo sendPlaybackPosition method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, watcherId, beforeposition,
+ successCallback, errorCallback, playbackRequestListener, retVal = null, flag = 0;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("sendPlaybackPosition() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "sendPlaybackPosition should return undefined.");
+ if(++flag == 2) t.done();
+ });
+
+ playbackRequestListener = {
+ onplaybackpositionrequest: t.step_func(function(position) {
+ assert_type(position, "long", "position should be a number.");
+ assert_greater_than_equal(position, beforeposition + 10, "Should be equal or greater than set value");
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ if(++flag == 2) t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ beforeposition = mcServer.playbackInfo.position;
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ retVal = mcServerInfo.sendPlaybackPosition(beforeposition + 10, successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState
+//==== LABEL Check if MediaControllerServerInfo sendPlaybackState method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, successCallback,
+ watcherId, retVal = null, playbackRequestListener, flag = 0;
+
+t.step(function () {
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "sendPlaybackState should return undefined");
+ if(++flag == 2) t.done();
+ });
+
+ playbackRequestListener = {
+ onplaybackstaterequest: t.step_func(function(state) {
+ assert_type(state, "string", "state should be a string");
+ assert_equals(state, "STOP", "state be requested to change");
+ mcServer.updatePlaybackState(state);
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ if(++flag == 2) t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ retVal = mcServerInfo.sendPlaybackState("STOP", successCallback);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch
+//==== LABEL Check if sendPlaybackState throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, conversionTable,
+ exceptionName, i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("sendPlaybackState() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendPlaybackState("STOP", successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb
+//==== LABEL Check if sendPlaybackState throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("sendPlaybackState() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.sendPlaybackState("STOP", successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_exist
+//==== LABEL Check if sendPlaybackState exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "sendPlaybackState");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_misarg
+//==== LABEL Check if sendPlaybackState method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.sendPlaybackState();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch
+//==== LABEL Check if sendPlaybackState throws exception when state is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("enum", false);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ state = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendPlaybackState(state)
+ }, "Given incorrect state");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch
+//==== LABEL Check if sendPlaybackState throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i, successCallback;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendPlaybackState('PLAY', successCallback)
+ }, "Given incorrect success callback.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb
+//==== LABEL Check if sendPlaybackState throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServerInfo, incorrectCallback, errorCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("sendPlaybackState() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.sendPlaybackState("PLAY", incorrectCallback, errorCallback);
+ }, "Given incorrect successCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_with_errorCallback
+//==== LABEL Check if MediaControllerServerInfo sendPlaybackState method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, successCallback,
+ errorCallback, retVal = null, watcherId, playbackRequestListener, flag = 0;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("sendPlaybackState() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "sendPlaybackState should return undefined");
+ if (++flag == 2) t.done();
+ });
+
+ playbackRequestListener = {
+ onplaybackstaterequest: t.step_func(function(state) {
+ assert_type(state, "string", "state should be a string");
+ assert_equals(state, "STOP", "state be requested to change");
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ if (++flag == 2) t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ retVal = mcServerInfo.sendPlaybackState("STOP", successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState
+//==== LABEL Check if sendRepeatState() works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo, retValue = null;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.updatePlaybackState("PLAY");
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ retValue = mcServerInfo.sendRepeatState("REPEAT_OFF");
+ assert_equals(retValue, undefined, "sendRepeatState returns wrong value");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch
+//==== LABEL Check argument errorCallback conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 90
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), mcServer, mcClient, mcServerInfo, incorrectCallback,
+ successCallback, exceptionName, i, conversionTable;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+
+ successCallback = t.step_func(function () {
+ assert_unreached("sendRepeatState() success callback invoked");
+ });
+
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ incorrectCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendRepeatState("REPEAT_OFF", successCallback, incorrectCallback);
+ }, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb
+//==== LABEL Check if sendRepeatState throws exception when errorCallback is invalid
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), exceptionName = "TypeMismatchError", mcServer, mcClient,
+ mcServerInfo, onsuccessCB, incorrectCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+
+ incorrectCallback = {
+ onerror: t.step_func(function () {
+ assert_unreached("sendRepeatState() invalid error callback invoked.");
+ })
+ };
+
+ onsuccessCB = t.step_func(function () {
+ assert_unreached("sendRepeatState() sucess callback invoked.");
+ });
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendRepeatState("REPEAT_OFF", onsuccessCB, incorrectCallback);
+ }, exceptionName + " should be thrown - given incorrect error callback");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState_exist
+//==== LABEL Check if method sendRepeatState of MediaControllerServerInfo exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "sendRepeatState");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState_state_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState_state_TypeMismatch
+//==== LABEL Check argument state conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 90
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), mcServer, mcClient, mcServerInfo, state,
+ exceptionName, i, conversionTable;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+
+ conversionTable = getTypeConversionExceptions("enum", false);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ state = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendRepeatState(state);
+ }, exceptionName + " should be thrown - given incorrect state");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch
+//==== LABEL Check argument successCallback conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState 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();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ incorrectCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendRepeatState("REPEAT_OFF", incorrectCallback);
+ }, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb
+//==== LABEL Check if sendRepeatState throws exception when successCallback is invalid
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), exceptionName = "TypeMismatchError", mcServer, mcClient,
+ mcServerInfo, incorrectCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("sendRepeatState() success callback invoked.");
+ })
+ };
+
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendRepeatState("REPEAT_OFF", incorrectCallback);
+ }, exceptionName + " should be thrown - given incorrect success callback");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState_with_errorCallback
+//==== LABEL Check if sendRepeatState method works properly with errorCallback argument
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), mcClient, mcServer, mcServerInfo,
+ onsuccessCB, onerrorCB, retValue = null;
+
+t.step(function () {
+ onsuccessCB = t.step_func(function (){
+ assert_equals(retValue, undefined, "sendRepeatState returns wrong value");
+ t.done();
+ });
+
+ onerrorCB = t.step_func(function (error) {
+ assert_unreached("errorCallback is invoked");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ retValue = mcServerInfo.sendRepeatMode("REPEAT_OFF", onsuccessCB, onerrorCB);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendShuffleMode</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendShuffleMode
+//==== LABEL Check if MediaControllerServerInfo sendShuffleMode method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, successCallback, retVal = null,
+ beforemode, watcherId, playbackRequestListener, flag = 0;
+
+t.step(function () {
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "sendShuffleMode should return undefined");
+ if (++flag == 2) t.done();
+ });
+
+ playbackRequestListener = {
+ onshufflemoderequest: t.step_func(function(mode) {
+ assert_type(mode, "boolean", "shuffleMode should be a boolean");
+ assert_equals(mode, !beforemode, "shuffleMode be requested to change");
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ if (++flag == 2) t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ beforemode = mcServer.playbackInfo.shuffleMode;
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ retVal = mcServerInfo.sendShuffleMode(!beforemode, successCallback);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch
+//==== LABEL Check if sendShuffleMode throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("sendShuffleMode() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendShuffleMode(true, successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb
+//==== LABEL Check if sendShuffleMode throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("sendShuffleMode() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.sendShuffleMode(true, successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendShuffleMode_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendShuffleMode_exist
+//==== LABEL Check if sendShuffleMode exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "sendShuffleMode");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch
+//==== LABEL Check if sendShuffleMode throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i, successCallback;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendShuffleMode(true, successCallback)
+ }, "Given incorrect success callback.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb
+//==== LABEL Check if sendShuffleMode throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServerInfo, errorCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("sendShuffleMode() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.sendShuffleMode(true, incorrectCallback, errorCallback);
+ }, "Given incorrect successCallback.");
+
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendShuffleMode_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendShuffleMode_with_errorCallback
+//==== LABEL Check if MediaControllerServerInfo sendShuffleMode method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, successCallback, errorCallback, retVal = null, beforemode, watcherId, playbackRequestListener, flag = 0;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("sendShuffleMode() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "sendShuffleMode should return undefined");
+ if (++flag == 2) t.done();
+ });
+
+ playbackRequestListener = {
+ onshufflemoderequest: t.step_func(function(mode) {
+ assert_type(mode, "boolean", "shuffleMode should be a boolean");
+ assert_equals(mode, !beforemode, "shuffleMode be requested to change");
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ if (++flag == 2) t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ beforemode = mcServer.playbackInfo.shuffleMode;
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ retVal = mcServerInfo.sendShuffleMode(!beforemode, successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_addChangeRequestPlaybackInfoListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_addChangeRequestPlaybackInfoListener
+//==== LABEL Check if addChangeRequestPlaybackInfoListener() works properly
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:addChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), watcherId, mcServer, mcClient, mcServerInfo, playbackRequestListener;
+
+t.step(function () {
+ playbackRequestListener = {
+ onplaybackpositionrequest: t.step_func(function (position) {
+ assert_not_equals(watcherId, null, "id should be not null");
+ assert_type(watcherId, "long", "watcherId should be type of number");
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ mcServerInfo.sendPlaybackPosition(164);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_addChangeRequestPlaybackInfoListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_addChangeRequestPlaybackInfoListener_exist
+//==== LABEL Check if method addChangeRequestPlaybackInfoListener of MediaControllerServer exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:addChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+
+ check_method_exists(mcServer, "addChangeRequestPlaybackInfoListener");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Author:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch
+//==== LABEL Check if addChangeRequestPlaybackInfoListener throws exception when listener is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:addChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, playbackRequestListener, exceptionName, i, conversionTable;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ conversionTable = getTypeConversionExceptions("object", false);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ playbackRequestListener = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ }, exceptionName + " should be thrown - given incorrect success callback.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid
+//==== LABEL Check if addChangeRequestPlaybackInfoListener throws exception when callback is inavlid listener
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:addChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTL
+
+var mcServer, playbackRequestListener, incorrectListener, exceptionName, i;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ incorrectListener = getListenerConversionExceptions(["onplaybackstaterequest", "onplaybackpositionrequest",
+ "onshufflemoderequest", "onrepeatmoderequest"]);
+
+ for (i = 0; i < incorrectListener.length; i++) {
+ playbackRequestListener = incorrectListener[i][0];
+ exceptionName = incorrectListener[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ }, exceptionName + " should be thrown - given incorrect success callback.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg
+//==== LABEL Check if addChangeRequestPlaybackInfoListener method of MediaControllerServer called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:addChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.addChangeRequestPlaybackInfoListener();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_createPlaylist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_createPlaylist
+//==== LABEL Check if MediaControllerServer createPlaylist method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:createPlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, retVal = null;
+
+ mcServer = tizen.mediacontroller.createServer();
+ retVal = mcServer.createPlaylist("PlayList");
+ assert_type(retVal, "object", "createPlaylist should return object")
+ assert_equals(retVal.name, "PlayList", "invalid name in return object");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_createPlaylist_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_createPlaylist_exist
+//==== LABEL Check if method createPlaylist of MediaControllerServer exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:createPlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "createPlaylist");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_createPlaylist_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_createPlaylist_invalid
+//==== LABEL Check if createPlaylist thrown invalid exception when playlist name already exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:createPlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("PlayList");
+ assert_throws(INVALID_VALUES_EXCEPTION,
+ function () {
+ mcServer.createPlaylist("PlayList");
+ }, "InvalidValuesError should be thrown.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist
+//==== LABEL Check if MediaControllerServer deletePlaylist method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+
+test(function () {
+ var mcServer, retValue = null;
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ retValue = mcServer.deletePlaylist("list");
+ assert_equals(retValue, undefined, "deletePlaylist returns wrong value");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch
+//==== LABEL Check if deletePlaylist throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, conversionTable,
+ exceptionName, i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("deletePlaylist() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.deletePlaylist("list", successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist_errorCallback_invalid_cb
+//==== LABEL Check if deletePlaylist throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("deletePlaylist() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.deletePlaylist("list", successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist_errorCallback_invoke</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist_errorCallback_invoke
+//==== LABEL Check if errorCallback invoked when playlist with given name does not exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MERRCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback,
+ errorCallback;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_equals(error.name, "InvalidValuesError", "Invalid error name returned");
+ t.done();
+ });
+
+ successCallback = t.step_func(function () {
+ assert_unreached("deletePlaylist() successCallback should not be invoked");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.deletePlaylist("list", successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist_exist
+//==== LABEL Check if deletePlaylist exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "deletePlaylist");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist_successCallback_TypeMismatch
+//==== LABEL Check if deletePlaylist throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, conversionTable,
+ exceptionName, i, successCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.savePlaylist("list", successCallback)
+ }, "Given incorrect success callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist_successCallback_invalid_cb
+//==== LABEL Check if deletePlaylist throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.deletePlaylist("list", incorrectCallback);
+ }, "Given incorrect successCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist_with_errorCallback
+//==== LABEL Check if MediaControllerServer deletePlaylist method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback,
+ errorCallback, retVal = null;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("deletePlaylist() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "deletePlaylist should return undefined");
+ t.done();
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ retVal = mcServer.deletePlaylist("list", successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists
+//==== LABEL Check if MediaControllerServer getAllPlaylists method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback, retVal = null;
+
+t.step(function () {
+ successCallback = t.step_func(function (playlists) {
+ assert_equals(retVal, undefined, "getAllPlaylists should return undefined");
+ t.done();
+ });
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ retVal = mcServer.getAllPlaylists(successCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch
+//==== LABEL Check if getAllPlaylists throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, conversionTable,
+ exceptionName, i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("getAllPlaylists() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.getAllPlaylists(successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb
+//==== LABEL Check if getAllPlaylists throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("getAllPlaylists() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.getAllPlaylists(successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists_exist
+//==== LABEL Check if getAllPlaylists exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "getAllPlaylists");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists_misarg
+//==== LABEL Check if getAllPlaylists method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.getAllPlaylists();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch
+//==== LABEL Check if getAllPlaylists throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, conversionTable,
+ exceptionName, i, successCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.getAllPlaylists(successCallback)
+ }, "Given incorrect success callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists_successCallback_invalid_cb
+//==== LABEL Check if getAllPlaylists throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.getAllPlaylists(incorrectCallback);
+ }, "Given incorrect successCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists_with_errorCallback
+//==== LABEL Check if MediaControllerServer getAllPlaylists method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback,
+ errorCallback, retVal = null;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("getAllPlaylists() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "getAllPlaylists should return undefined");
+ t.done();
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ retVal = mcServer.getAllPlaylists(successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_playbackInfo_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_playbackInfo_attribute
+//==== LABEL Check if attribute playbackInfo of MediaControllerServer exists, has type MediaControllerPlaybackInfo and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:playbackInfo A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_readonly(mcServer, "playbackInfo", mcServer.playbackInfo, "object", null);
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_removeChangeRequestPlaybackInfoListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_removeChangeRequestPlaybackInfoListener
+//==== LABEL Check if removeChangeRequestPlaybackInfoListener() works properly
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:removeChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), watcherId, mcServer, mcClient, mcServerInfo, playbackRequestListener, retValue = null;
+
+t.step(function () {
+ playbackRequestListener = {
+ onplaybackpositionrequest: t.step_func(function (position) {
+ retValue = mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ assert_equals(retValue, undefined, "removeChangeRequestPlaybackInfoListener returns wrong value");
+ try {
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ } catch(e) {
+ assert_unreached("Calling removeChangeRequestPlaybackInfoListener twice should not throw an exception.");
+ }
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ mcServerInfo.sendPlaybackPosition(164);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist
+//==== LABEL Check if method removeChangeRequestPlaybackInfoListener of MediaControllerServer exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:removeChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "removeChangeRequestPlaybackInfoListener");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg
+//==== LABEL Check if removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with missing non-optional argument does NOT throw any exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:removeChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ try {
+ mcServer.removeChangeRequestPlaybackInfoListener();
+ } catch (e) {
+ assert_unreached("Should not throw exception, but threw " + e.name);
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid
+//==== LABEL Check if removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with invalid value does not throw any exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:removeChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ try {
+ mcServer.removeChangeRequestPlaybackInfoListener(-1);
+ } catch (e) {
+ assert_unreached("Should not throw exception, but threw " + e.name);
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist
+//==== LABEL Check if MediaControllerServer savePlaylist method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+
+test(function () {
+ var mcServer, playlist, retValue = null;
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("list");
+ retValue = mcServer.savePlaylist(playlist);
+ assert_equals(retValue, undefined, "savePlaylist returns wrong value");
+ mcServer.deletePlaylist("list");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_errorCallback_TypeMismatch
+//==== LABEL Check if savePlaylist throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, conversionTable,
+ exceptionName, i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("savePlaylist() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.savePlaylist(playlist, successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_errorCallback_invalid_cb
+//==== LABEL Check if savePlaylist throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("savePlaylist() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.savePlaylist(playlist, successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_errorCallback_invoke</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_errorCallback_invoke
+//==== LABEL Check if errorCallback invoked when playlist with given name does not exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MERRCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, successCallback,
+ errorCallback;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_equals(error.name, "InvalidValuesError", "Invalid error name returned");
+ t.done();
+ });
+
+ successCallback = t.step_func(function () {
+ assert_unreached("savePlaylist() successCallback should not be invoked");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("list");
+ mcServer.deletePlaylist("list");
+ mcServer.savePlaylist(playlist, successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_exist
+//==== LABEL Check if savePlaylist exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "savePlaylist");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_misarg
+//==== LABEL Check if savePlaylist method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.savePlaylist();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_playlist_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_playlist_TypeMismatch
+//==== LABEL Check if savePlaylist throws exception when playlist is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, playlist, conversionTable, exceptionName, i;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ conversionTable = getTypeConversionExceptions("object", false);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ playlist = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.savePlaylist(playlist)
+ }, "Given incorrect playlist");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_successCallback_TypeMismatch
+//==== LABEL Check if savePlaylist throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, conversionTable,
+ exceptionName, i, successCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.savePlaylist(playlist, successCallback)
+ }, "Given incorrect success callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_successCallback_invalid_cb
+//==== LABEL Check if savePlaylist throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.savePlaylist(playlist, incorrectCallback);
+ }, "Given incorrect successCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_with_errorCallback
+//==== LABEL Check if MediaControllerServer savePlaylist method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, successCallback,
+ errorCallback, retVal = null;
+
+t.step(function () {
+ add_result_callback(function () {
+ mcServer.deletePlaylist("list");
+ });
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("savePlaylist() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "savePlaylist should return undefined");
+ t.done();
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("list");
+ retVal = mcServer.savePlaylist(playlist, successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateIconURI</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateIconURI
+//==== LABEL Check if MediaControllerServer updateIconURI method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateIconURI M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var server, client, sinfo, uri = "http://example.com/res/icon2.ico", retVal = null;
+
+ server = tizen.mediacontroller.createServer();
+ server.updatePlaybackState("PLAY");
+ client = tizen.mediacontroller.getClient();
+ sinfo = client.getLatestServerInfo();
+ retVal = server.updateIconURI(uri);
+ assert_equals(retVal, undefined, "updateIconURI should return undefined");
+ assert_equals(sinfo.iconURI, uri, "update iconURI failed");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateIconURI_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateIconURI_exist
+//==== LABEL Check if method updateIconURI of MediaControllerServer exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateIconURI M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updateIconURI");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateMetadata</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateMetadata
+//==== LABEL Check if updateMetadata() works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateMetadata M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, metadata, retValue;
+
+ mcServer = tizen.mediacontroller.createServer();
+ metadata = mcServer.playbackInfo.metadata;
+ metadata.artist = "Artist Name";
+ retValue = mcServer.updateMetadata(metadata);
+ assert_equals(retValue, undefined, "updateMetadata returns wrong value");
+ metadata.artist = "New Name";
+ mcServer.updateMetadata(metadata);
+ assert_equals(mcServer.playbackInfo.metadata.artist, "New Name", "artist should be updated");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateMetadata_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateMetadata_exist
+//==== LABEL Check if method updateMetadata of MediaControllerServer exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateMetadata M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updateMetadata");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateMetadata_invalid_obj</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateMetadata_invalid_obj
+//==== LABEL Check if updateMetadata() method throw exception when a fake system object was passed
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateMetadata M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTO
+
+test(function () {
+ var mcServer, metadata;
+
+ mcServer = tizen.mediacontroller.createServer();
+ metadata = {
+ invalid_title: "Black Widow",
+ invalid_artist: "Iggy Azalea",
+ invalid_album: "The New Classic",
+ invalid_author: "Iggy Azalea",
+ invalid_genre: "popular",
+ invalid_duration: "03:28",
+ invalid_date: "2014-04-22",
+ invalid_copyright: "Iggy Azalea",
+ invalid_description: "Like a black widow, baby",
+ invalid_trackNum: "123",
+ invalid_picture: "aa"
+ };
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updateMetadata(metadata);
+ }, "fake system object was pased but exception wasn't thrown");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateMetadata_metadata_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateMetadata_metadata_TypeMismatch
+//==== LABEL Check argument metadata conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateMetadata M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, metadata, exceptionName, i, conversionTable;
+
+ conversionTable = getTypeConversionExceptions("object", false);
+ mcServer= tizen.mediacontroller.createServer();
+
+ for (i = 0; i < conversionTable.length; i++) {
+ metadata = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.updateMetadata(metadata);
+ }, exceptionName + " should be thrown - given incorrect metadata.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateMetadata_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateMetadata_misarg
+//==== LABEL Check if updateMetadata method of MediaControllerServer called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateMetadata M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updateMetadata();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackAgeRating</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackAgeRating
+//==== LABEL Check if MediaControllerServer updatePlaybackAgeRating method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackAgeRating M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, retVal = null;
+
+ mcServer= tizen.mediacontroller.createServer();
+ mcServer.updatePlaybackAgeRating("1");
+ retVal = mcServer.updatePlaybackAgeRating("2");
+ assert_equals(retVal, undefined, "updatePlaybackAgeRating should return undefined");
+ assert_equals(mcServer.playbackInfo.ageRating, "2", "ageRating should be updated");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackAgeRating_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackAgeRating_exist
+//==== LABEL Check if updatePlaybackAgeRating exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackAgeRating M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updatePlaybackAgeRating");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackAgeRating_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackAgeRating_misarg
+//==== LABEL Check if updatePlaybackAgeRating method of MediaControllerServer called with missing non-optional argument should throw an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackAgeRating M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+ mcServer= tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updatePlaybackAgeRating();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch
+//==== LABEL Check argument rating conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackAgeRating M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, rating, exceptionName, i, conversionTable;
+
+ conversionTable = getTypeConversionExceptions("enum", false);
+ mcServer= tizen.mediacontroller.createServer();
+
+ for (i = 0; i < conversionTable.length; i++) {
+ rating = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.updatePlaybackAgeRating(rating);
+ }, exceptionName + " should be thrown - given incorrect rating.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackContentType</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackContentType
+//==== LABEL Check if MediaControllerServer updatePlaybackContentType method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackContentType M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, retVal = null;
+
+ mcServer= tizen.mediacontroller.createServer();
+ retVal = mcServer.updatePlaybackContentType("MUSIC");
+ assert_equals(retVal, undefined, "updatePlaybackContentType should return undefined");
+ assert_equals(mcServer.playbackInfo.contentType, "MUSIC", "contentType should be updated");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch
+//==== LABEL Check argument contentType conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackContentType M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, contentType, exceptionName, i, conversionTable;
+
+ conversionTable = getTypeConversionExceptions("enum", false);
+ mcServer= tizen.mediacontroller.createServer();
+
+ for (i = 0; i < conversionTable.length; i++) {
+ contentType = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.updatePlaybackContentType(contentType);
+ }, exceptionName + " should be thrown - given incorrect contentType.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackContentType_contentType_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackContentType_contentType_invalid
+//==== LABEL Check updatePlaybackContentType throws type exception with invalid contentType value
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackContentType M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer;
+
+ mcServer= tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updatePlaybackContentType("ABC");
+ }, "Calling updatePlaybackContentType with invalid arguments should throw an exception.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackContentType_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackContentType_exist
+//==== LABEL Check if updatePlaybackContentType exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackContentType M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updatePlaybackContentType");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackContentType_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackContentType_misarg
+//==== LABEL Check if updatePlaybackContentType method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackContentType M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer= tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updatePlaybackContentType();
+ }, "Calling updatePlaybackContentType without arguments should throw an exception.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackItem</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackItem
+//==== LABEL Check if MediaControllerServer updatePlaybackItem method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, metadata, playlist, retVal = null;
+
+ mcServer= tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("PlayList");
+ metadata =
+ {
+ title: "testTitle"
+ };
+ playlist.addItem("index1", metadata);
+ mcServer.savePlaylist(playlist);
+ retVal = mcServer.updatePlaybackItem("PlayList", "index1");
+ assert_equals(retVal, undefined, "updatePlaybackItem returns wrong value");
+ assert_equals(mcServer.playbackInfo.index, "index1", "update index failed");
+ mcServer.deletePlaylist("PlayList");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackItem_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackItem_exist
+//==== LABEL Check if method updatePlaybackItem of MediaControllerServer exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updatePlaybackItem");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackPosition</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackPosition
+//==== LABEL Check if MediaControllerServer updatePlaybackPosition method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, retVal = null, beforeposition;
+
+ mcServer = tizen.mediacontroller.createServer();
+ beforeposition = mcServer.playbackInfo.position;
+ retVal = mcServer.updatePlaybackPosition(beforeposition + 10);
+ assert_equals(retVal, undefined, "updatePlaybackPosition should return undefined");
+ assert_greater_than_equal(mcServer.playbackInfo.position, beforeposition + 10, "position should be updated");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackPosition_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackPosition_exist
+//==== LABEL Check if updatePlaybackPosition exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updatePlaybackPosition");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackPosition_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackPosition_misarg
+//==== LABEL Check if updatePlaybackPosition method of MediaControllerServer called with missing non-optional argument does not throw any exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer= tizen.mediacontroller.createServer();
+ try {
+ mcServer.updatePlaybackPosition();
+ } catch (e) {
+ assert_unreached("Calling updatePlaybackPosition without arguments should NOT throw an exception.");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackPosition_position_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackPosition_position_invalid
+//==== LABEL Check if updatePlaybackPosition method of MediaControllerServer called with negative value should NOT throw an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer= tizen.mediacontroller.createServer();
+ try {
+ mcServer.updatePlaybackPosition(-1);
+ } catch (e) {
+ assert_unreached("Calling updatePlaybackPosition with negative value should NOT throw an exception.");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackState</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackState
+//==== LABEL Check if MediaControllerServer updatePlaybackState method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, retVal = null;
+
+ mcServer= tizen.mediacontroller.createServer();
+ retVal = mcServer.updatePlaybackState("PLAY");
+ assert_equals(retVal, undefined, "updatePlaybackState should return undefined");
+ mcServer.updatePlaybackState("NEXT");
+ assert_equals(mcServer.playbackInfo.state, "NEXT", "state should be updated");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackState_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackState_exist
+//==== LABEL Check if updatePlaybackState exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updatePlaybackState");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackState_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackState_misarg
+//==== LABEL Check if updatePlaybackState method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer= tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updatePlaybackState();
+ }, "Calling updatePlaybackState without arguments should throw an exception.");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackState_state_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackState_state_TypeMismatch
+//==== LABEL Check argument state conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, state, exceptionName, i, conversionTable;
+
+ conversionTable = getTypeConversionExceptions("enum", false);
+ mcServer= tizen.mediacontroller.createServer();
+
+ for (i = 0; i < conversionTable.length; i++) {
+ state = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.updatePlaybackState(state);
+ }, exceptionName + " should be thrown - given incorrect state.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackState_state_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackState_state_invalid
+//==== LABEL Check updatePlaybackState throws type exception with invalid state value
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer;
+
+ mcServer= tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updatePlaybackState("ABC");
+ }, "Calling updatePlaybackState with invalid arguments should throw an exception.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateRepeatState</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateRepeatState
+//==== LABEL Check if MediaControllerServer updateRepeatState method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, retVal = null;
+
+ mcServer= tizen.mediacontroller.createServer();
+ mcServer.updateRepeatState("REPEAT_OFF");
+ retVal = mcServer.updateRepeatState("REPEAT_ONE");
+ assert_equals(retVal, undefined, "updateRepeatState should return undefined");
+ assert_equals(mcServer.playbackInfo.repeatState, "REPEAT_ONE", "repeatState should be updated");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateRepeatState_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateRepeatState_exist
+//==== LABEL Check if updateRepeatState exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updateRepeatState");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateRepeatState_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateRepeatState_misarg
+//==== LABEL Check if updateRepeatState method of MediaControllerServer called with missing non-optional argument should throw an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+ mcServer= tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updateRepeatState();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateRepeatState_state_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateRepeatState_state_TypeMismatch
+//==== LABEL Check argument state conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, state, exceptionName, i, conversionTable;
+
+ conversionTable = getTypeConversionExceptions("enum", false);
+ mcServer= tizen.mediacontroller.createServer();
+
+ for (i = 0; i < conversionTable.length; i++) {
+ state = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.updateRepeatState(state);
+ }, exceptionName + " should be thrown - given incorrect state.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateShuffleMode</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateShuffleMode
+//==== LABEL Check if MediaControllerServer updateShuffleMode method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, retVal = null, beforemode;
+
+ mcServer= tizen.mediacontroller.createServer();
+ beforemode = mcServer.playbackInfo.shuffleMode;
+ retVal = mcServer.updateShuffleMode(!beforemode);
+ assert_equals(retVal, undefined, "updateShuffleMode should return undefined");
+ assert_equals(mcServer.playbackInfo.shuffleMode, !beforemode, "shuffleMode should be updated");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateShuffleMode_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateShuffleMode_exist
+//==== LABEL Check if updateShuffleMode exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updateShuffleMode");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateShuffleMode_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateShuffleMode_misarg
+//==== LABEL Check if updateShuffleMode method of MediaControllerServer called with missing non-optional argument does NOT throw an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer= tizen.mediacontroller.createServer();
+ try {
+ mcServer.updateShuffleMode();
+ } catch(e) {
+ assert_unreached("Calling updateShuffleMode without arguments should not throw an exception.");
+ }
+ assert_equals(mcServer.playbackInfo.shuffleMode, false, "Expected false, but got " + mcServer.playbackInfo.shuffleMode);
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
</testcase>
<testcase purpose="Check argument errorCallback conversions exception" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendRepeatMode_errorCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendRepeatMode_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatMode_errorCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
</testcase>
<testcase purpose="Check if sendRepeatMode throws exception when errorCallback is invalid" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendRepeatMode_errorCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendRepeatMode_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatMode_errorCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
</testcase>
<testcase purpose="Check if method sendRepeatMode of MediaControllerServerInfo exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_sendRepeatMode_exist">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendRepeatMode_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatMode_exist.html</test_script_entry>
</description>
<specs>
<spec>
</testcase>
<testcase purpose="Check argument successCallback conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendRepeatMode_successCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendRepeatMode_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatMode_successCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
</testcase>
<testcase purpose="Check if sendRepeatMode 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="MediaControllerServerInfo_sendRepeatMode_successCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendRepeatMode_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatMode_successCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
</testcase>
<testcase purpose="Check if sendRepeatMode method works properly with errorCallback argument" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendRepeatMode_with_errorCallback">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerServerInfo_sendRepeatMode_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatMode_with_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
</testcase>
<testcase purpose="Check if attribute repeatMode of MediaControllerPlaybackInfo exists, has type boolean and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_repeatMode_attribute">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfo_repeatMode_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_repeatMode_attribute.html</test_script_entry>
</description>
<specs>
<spec>
</testcase>
<testcase purpose="Check if MediaControllerChangeRequestPlaybackInfoCallback onrepeatmoderequest is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerChangeRequestPlaybackInfoCallback_onrepeatmoderequest">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_onrepeatmoderequest.html</test_script_entry>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerChangeRequestPlaybackInfoCallback_onrepeatmoderequest.html</test_script_entry>
</description>
<specs>
<spec>
</testcase>
<testcase purpose="Check if MediaControllerPlaybackInfoChangeCallback onrepeatmodechanged is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfoChangeCallback_onrepeatmodechanged">
<description>
- <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerPlaybackInfoChangeCallback_onrepeatmodechanged.html</test_script_entry>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfoChangeCallback_onrepeatmodechanged.html</test_script_entry>
</description>
<specs>
<spec>
</spec>
</specs>
</testcase>
+ <testcase purpose="Check if MediaControllerServer updateIconURI method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updateIconURI">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateIconURI.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateIconURI" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateIconURI exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updateIconURI_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateIconURI_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateIconURI" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if addChangeRequestPlaybackInfoListener() works properly" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_addChangeRequestPlaybackInfoListener">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addChangeRequestPlaybackInfoListener" 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 addChangeRequestPlaybackInfoListener of MediaControllerServer exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addChangeRequestPlaybackInfoListener" 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 addChangeRequestPlaybackInfoListener throws exception when listener is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addChangeRequestPlaybackInfoListener" 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 addChangeRequestPlaybackInfoListener throws exception when callback is inavlid listener" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addChangeRequestPlaybackInfoListener" 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 addChangeRequestPlaybackInfoListener method of MediaControllerServer 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="MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addChangeRequestPlaybackInfoListener" 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 removeChangeRequestPlaybackInfoListener() works properly" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeChangeRequestPlaybackInfoListener" 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 removeChangeRequestPlaybackInfoListener of MediaControllerServer exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeChangeRequestPlaybackInfoListener" 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 removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with missing non-optional argument does NOT throw any exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeChangeRequestPlaybackInfoListener" 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 removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with invalid value does not throw any exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeChangeRequestPlaybackInfoListener" 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 MediaControllerServerInfo sendPlaybackPosition method without optional argument works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendPlaybackPosition">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 sendPlaybackPosition throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 sendPlaybackPosition throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 sendPlaybackPosition exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_sendPlaybackPosition_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 sendPlaybackPosition method called with missing non-optional argument does NOT throw an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackPosition_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 sendPlaybackPosition throws exception when successCallback is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 sendPlaybackPosition throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 MediaControllerServerInfo sendPlaybackPosition method with all optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 MediaControllerServerInfo sendPlaybackState method without optional argument works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendPlaybackState">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendPlaybackState throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendPlaybackState throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendPlaybackState exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_sendPlaybackState_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendPlaybackState 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="MediaControllerServerInfo_sendPlaybackState_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendPlaybackState throws exception when state is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendPlaybackState throws exception when successCallback is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendPlaybackState throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 MediaControllerServerInfo sendPlaybackState method with all optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendPlaybackState_with_errorCallback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendRepeatState() works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendRepeatState">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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 errorCallback conversions exception" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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 sendRepeatState throws exception when errorCallback is invalid" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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 sendRepeatState of MediaControllerServerInfo exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_sendRepeatState_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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 state conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendRepeatState_state_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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="MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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 sendRepeatState 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="MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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 sendRepeatState method works properly with errorCallback argument" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendRepeatState_with_errorCallback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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 MediaControllerServerInfo sendShuffleMode method without optional argument works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendShuffleMode">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" 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 sendShuffleMode throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" 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 sendShuffleMode throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" 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 sendShuffleMode exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_sendShuffleMode_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" 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 sendShuffleMode throws exception when successCallback is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" 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 sendShuffleMode throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" 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 MediaControllerServerInfo sendShuffleMode method with all optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendShuffleMode_with_errorCallback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" 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 MediaControllerServerInfo addPlaybackInfoChangeListener method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_addPlaybackInfoChangeListener">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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 addPlaybackInfoChangeListener exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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 addPlaybackInfoChangeListener throws exception when listener is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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 addPlaybackInfoChangeListener throws exception when listener is invalid" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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 addPlaybackInfoChangeListener 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="MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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 MediaControllerServerInfo removePlaybackInfoChangeListener method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_removePlaybackInfoChangeListener">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="removePlaybackInfoChangeListener" 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 removePlaybackInfoChangeListener exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="removePlaybackInfoChangeListener" 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 removePlaybackInfoChangeListener method called with missing non-optional argument does not throw any exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="removePlaybackInfoChangeListener" 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 removePlaybackInfoChangeListener method of MediaControllerServerInfo called with invalid value throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="removePlaybackInfoChangeListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_createPlaylist_exist" priority="P0" purpose="Check if createPlaylist exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_createPlaylist_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="createPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_createPlaylist" priority="P1" purpose="Check if MediaControllerServer createPlaylist method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_createPlaylist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="createPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_createPlaylist_invalid" priority="P2" purpose="Check if createPlaylist thrown invalid exception when playlist name already exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_createPlaylist_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="createPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer savePlaylist method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_exist" priority="P0" purpose="Check if savePlaylist exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_misarg" priority="P2" purpose="Check if savePlaylist method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_playlist_TypeMismatch" priority="P2" purpose="Check if savePlaylist throws exception when state is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_playlist_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_successCallback_TypeMismatch" priority="P2" purpose="Check if savePlaylist throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer savePlaylist method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_invoke" onload_delay="30" priority="P2" purpose="Check if errorCallback invoked when playlist with given name does not exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_errorCallback_invoke.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer deletePlaylist method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_exist" priority="P0" purpose="Check if deletePlaylist exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_successCallback_TypeMismatch" priority="P2" purpose="Check if deletePlaylist throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer deletePlaylist method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_invoke" onload_delay="30" priority="P2" purpose="Check if errorCallback invoked when playlist with given name does not exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_errorCallback_invoke.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer getAllPlaylists method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_exist" priority="P0" purpose="Check if getAllPlaylists exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_misarg" priority="P2" purpose="Check if getAllPlaylists method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer getAllPlaylists method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo getAllPlaylists method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists_exist" priority="P0" purpose="Check if getAllPlaylists exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists_misarg" priority="P2" purpose="Check if getAllPlaylists method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo getAllPlaylists method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_sendPlaybackItem" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackItem method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="sendPlaybackItem" 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="MediaControllerServerInfo_sendPlaybackItem_exist" priority="P0" purpose="Check if sendPlaybackItem exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="sendPlaybackItem" 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="MediaControllerServerInfo_sendPlaybackItem_misarg" priority="P2" purpose="Check if sendPlaybackItem method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="sendPlaybackItem" 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="MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch" priority="P2" purpose="Check if sendPlaybackItem throws exception when state is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="sendPlaybackItem" 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="MediaControllerServerInfo_addPlaylistUpdatedListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo addPlaylistUpdatedListener method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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="MediaControllerServerInfo_addPlaylistUpdatedListener_exist" priority="P0" purpose="check if addPlaylistUpdatedListener exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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="MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch" priority="P2" purpose="Check if addPlaylistUpdatedListener throws exception when listener is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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="MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid" priority="P2" purpose="Check if addPlaylistUpdatedListener throws exception when listener is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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="MediaControllerServerInfo_addPlaylistUpdatedListener_misarg" priority="P2" purpose="Check if addPlaylistUpdatedListener method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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="MediaControllerServerInfo_removePlaylistUpdatedListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo removePlaylistUpdatedListener method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaylistUpdatedListener.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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="MediaControllerServerInfo_removePlaylistUpdatedListener_exist" priority="P0" purpose="check if removePlaylistUpdatedListener exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaylistUpdatedListener_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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="MediaControllerServerInfo_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-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaylistUpdatedListener_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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 purpose="Check if attribute playbackInfo of MediaControllerServer exists, has type MediaControllerPlaybackInfo and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_playbackInfo_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_playbackInfo_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="attribute" element_name="playbackInfo" 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 playbackInfo of MediaControllerServerInfo exists, has type MediaControllerPlaybackInfo and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_playbackInfo_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_playbackInfo_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="attribute" element_name="playbackInfo" 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 updateMetadata() works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updateMetadata">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateMetadata" 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 updateMetadata of MediaControllerServer exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updateMetadata_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateMetadata" 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 updateMetadata() method throw exception when a fake system object was passed" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updateMetadata_invalid_obj">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_invalid_obj.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateMetadata" 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 metadata conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updateMetadata_metadata_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_metadata_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateMetadata" 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 updateMetadata method of MediaControllerServer 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="MediaControllerServer_updateMetadata_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateMetadata" 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 MediaControllerServer updatePlaybackPosition method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updatePlaybackPosition">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackPosition" 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 updatePlaybackPosition exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updatePlaybackPosition_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackPosition" 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 updatePlaybackPosition method of MediaControllerServer called with missing non-optional argument does not throw any exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackPosition_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackPosition" 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 updatePlaybackPosition method of MediaControllerServer called with negative value should NOT throw an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackPosition_position_invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition_position_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackPosition" 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 MediaControllerServer updatePlaybackState method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updatePlaybackState">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackState" 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 updatePlaybackState exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updatePlaybackState_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackState" 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 updatePlaybackState 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="MediaControllerServer_updatePlaybackState_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackState" 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 state conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackState_state_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackState" 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 updatePlaybackState throws type exception with invalid state value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackState_state_invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_state_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackState" 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 MediaControllerServer updateRepeatState method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updateRepeatState">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateRepeatState" 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 updateRepeatState exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updateRepeatState_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateRepeatState" 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 updateRepeatState method of MediaControllerServer called with missing non-optional argument does NOT throw an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updateRepeatState_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateRepeatState" 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 state conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updateRepeatState_state_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateRepeatState" 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 MediaControllerServer updateShuffleMode method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updateShuffleMode">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateShuffleMode.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateShuffleMode" 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 updateShuffleMode exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updateShuffleMode_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateShuffleMode_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateShuffleMode" 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 updateShuffleMode method of MediaControllerServer called with missing non-optional argument does NOT throw an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updateShuffleMode_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateShuffleMode_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateShuffleMode" 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 ageRating of MediaControllerPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_ageRating_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_ageRating_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="ageRating" 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 MediaControllerServer updatePlaybackAgeRating method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updatePlaybackAgeRating">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackAgeRating" 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 updatePlaybackAgeRating exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updatePlaybackAgeRating_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackAgeRating" 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 updatePlaybackAgeRating method of MediaControllerServer called with missing non-optional argument does NOT throw an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackAgeRating_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackAgeRating" 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 rating conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackAgeRating" 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 MediaControllerServer updatePlaybackContentType method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updatePlaybackContentType">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackContentType" 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 updatePlaybackState exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updatePlaybackContentType_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackContentType" 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 updatePlaybackState 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="MediaControllerServer_updatePlaybackContentType_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackContentType" 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 state conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackContentType" 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 updatePlaybackState throws type exception with invalid state value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackContentType_contentType_invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_contentType_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackContentType" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_updatePlaybackItem_exist" priority="P0" purpose="Check if updatePlaybackItem exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackItem_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="updatePlaybackItem" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_updatePlaybackItem" priority="P1" purpose="Check if MediaControllerServer updatePlaybackItem method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackItem.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="updatePlaybackItem" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if MediaControllerPlaybackInfo object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerPlaybackInfo_extend">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_extend.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" 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 interface MediaControllerPlaybackInfo exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerPlaybackInfo_notexist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_notexist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" 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 ageRating of MediaControllerPlaybackInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_ageRating_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_ageRating_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="ageRating" 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 metadata of MediaControllerPlaybackInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_metadata_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_metadata_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="metadata" 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 position of MediaControllerPlaybackInfo exists, has type long and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_position_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_position_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="position" 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 repeatState of MediaControllerPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_repeatState_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_repeatState_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="repeatMode" 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 shuffleMode of MediaControllerPlaybackInfo exists, has type boolean and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_shuffleMode_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_shuffleMode_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="shuffleMode" 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 state of MediaControllerPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_state_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_state_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="state" 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="MediaControllerPlaybackInfo_index_attribute" priority="P1" purpose="Check if attribute index of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_index_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" 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="MediaControllerPlaybackInfo_playlistName_attribute" priority="P1" purpose="Check if attribute playlistName of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_playlistName_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" 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 contentType of MediaControllerPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_contentType_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_contentType_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="contentType" element_name="repeatMode" 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 MediaControllerPlaybackInfoChangeCallback onplaybackstaterequest is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerChangeRequestPlaybackInfoCallback_onplaybackstaterequest">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_onplaybackstaterequest.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerChangeRequestPlaybackInfoCallback" element_type="method" element_name="onplaybackstaterequest" 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>
<set name="Content">
<testcase purpose="Check if ContentDirectory have storageType attribute with proper type, readonly, not null" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectory_storageType_attribute">
</description>
</testcase>
</set>
- <set name="deprecatedapi_Filesystem_camera">
- <capabilities>
- <capability name="http://tizen.org/feature/camera.back"/>
- </capabilities>
- <testcase purpose="Check if you can create a new file in Camera, copy it into Downloads, then request removing it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_camera" priority="P1">
- <description>
- <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_camera.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if FileSystemManager::resolve() method works for camera virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_camera" priority="P2">
- <description>
- <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_camera.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if File::createDirectory() creates a new directory in Camera and File::deleteDirectory() removes it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_camera" priority="P1">
- <description>
- <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_camera.html</test_script_entry>
- </description>
- </testcase>
- </set>
- <set name="MediaController_tv" type="js">
+ <set name="deprecatedapi_Filesystem_camera">
<capabilities>
- <capability name="http://tizen.org/feature/profile"><value>TV</value></capability>
+ <capability name="http://tizen.org/feature/camera.back"/>
</capabilities>
+ <testcase purpose="Check if you can create a new file in Camera, copy it into Downloads, then request removing it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_camera" priority="P1">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteFile_copyFile_camera.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if FileSystemManager::resolve() method works for camera virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_camera" priority="P2">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/FileSystemManager_resolve_camera.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if File::createDirectory() creates a new directory in Camera and File::deleteDirectory() removes it" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_camera" priority="P1">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/File_deleteDirectory_createDir_camera.html</test_script_entry>
+ </description>
+ </testcase>
+ </set>
+ <set name="MediaController_tv" type="js">
<testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateRepeatMode" priority="P1" purpose="Check if MediaControllerServer updateRepeatMode method works properly">
<description>
<test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatMode.html</test_script_entry>
<test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfoChangeCallback_onrepeatmodechanged.html</test_script_entry>
</description>
</testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateIconURI" priority="P1" purpose="Check if MediaControllerServer updateIconURI method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateIconURI.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateIconURI_exist" priority="P0" purpose="Check if updateIconURI exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateIconURI_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addChangeRequestPlaybackInfoListener" onload_delay="90" priority="P1" purpose="Check if addChangeRequestPlaybackInfoListener() works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_exist" priority="P0" purpose="Check if method addChangeRequestPlaybackInfoListener of MediaControllerServer exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch" priority="P2" purpose="Check if addChangeRequestPlaybackInfoListener throws exception when listener is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid" priority="P2" purpose="Check if addChangeRequestPlaybackInfoListener throws exception when callback is inavlid listener">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg" priority="P2" purpose="Check if addChangeRequestPlaybackInfoListener method of MediaControllerServer called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener" onload_delay="90" priority="P1" purpose="Check if removeChangeRequestPlaybackInfoListener() works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist" priority="P0" purpose="Check if method removeChangeRequestPlaybackInfoListener of MediaControllerServer exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg" priority="P2" purpose="Check if removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with missing non-optional argument does NOT throw any exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid" priority="P2" purpose="Check if removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with invalid value does not throw any exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackPosition method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if sendPlaybackPosition throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendPlaybackPosition throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_exist" priority="P0" purpose="Check if sendPlaybackPosition exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_misarg" priority="P2" purpose="Check if sendPlaybackPosition method called with missing non-optional argument does NOT throw an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch" priority="P2" purpose="Check if sendPlaybackPosition throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendPlaybackPosition throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackPosition method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackState method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if sendPlaybackState throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendPlaybackState throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_exist" priority="P0" purpose="Check if sendPlaybackState exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_misarg" priority="P2" purpose="Check if sendPlaybackState method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch" priority="P2" purpose="Check if sendPlaybackState throws exception when state is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch" priority="P2" purpose="Check if sendPlaybackState throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendPlaybackState throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackState method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState" priority="P1" purpose="Check if sendRepeatState() works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch" onload_delay="90" priority="P2" purpose="Check argument errorCallback conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if sendRepeatState throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_exist" priority="P0" purpose="Check if method sendRepeatState of MediaControllerServerInfo exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_state_TypeMismatch" priority="P2" purpose="Check argument state conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch" priority="P2" purpose="Check argument successCallback conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if sendRepeatState throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_with_errorCallback" onload_delay="90" priority="P1" purpose="Check if sendRepeatState method works properly with errorCallback argument">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendShuffleMode method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if sendShuffleMode throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendShuffleMode throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_exist" priority="P0" purpose="Check if sendShuffleMode exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch" priority="P2" purpose="Check if sendShuffleMode throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendShuffleMode throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendShuffleMode method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaybackInfoChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo addPlaybackInfoChangeListener method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_exist" priority="P0" purpose="check if addPlaybackInfoChangeListener exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch" priority="P2" purpose="Check if addPlaybackInfoChangeListener throws exception when listener is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid" priority="P2" purpose="Check if addPlaybackInfoChangeListener throws exception when listener is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg" priority="P2" purpose="Check if addPlaybackInfoChangeListener method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaybackInfoChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo removePlaybackInfoChangeListener method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_exist" priority="P0" purpose="check if removePlaybackInfoChangeListener exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg" priority="P2" purpose="Check if removePlaybackInfoChangeListener method called with missing non-optional argument does not throw any exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid" priority="P2" purpose="Check if removePlaybackInfoChangeListener method of MediaControllerServerInfo called with invalid value throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_createPlaylist_exist" priority="P0" purpose="Check if createPlaylist exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_createPlaylist_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_createPlaylist" priority="P1" purpose="Check if MediaControllerServer createPlaylist method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_createPlaylist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_createPlaylist_invalid" priority="P2" purpose="Check if createPlaylist thrown invalid exception when playlist name already exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_createPlaylist_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer savePlaylist method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_exist" priority="P0" purpose="Check if savePlaylist exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_misarg" priority="P2" purpose="Check if savePlaylist method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_playlist_TypeMismatch" priority="P2" purpose="Check if savePlaylist throws exception when state is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_playlist_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_successCallback_TypeMismatch" priority="P2" purpose="Check if savePlaylist throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer savePlaylist method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_invoke" onload_delay="30" priority="P2" purpose="Check if errorCallback invoked when playlist with given name does not exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_errorCallback_invoke.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer deletePlaylist method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_exist" priority="P0" purpose="Check if deletePlaylist exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_successCallback_TypeMismatch" priority="P2" purpose="Check if deletePlaylist throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer deletePlaylist method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_invoke" onload_delay="30" priority="P2" purpose="Check if errorCallback invoked when playlist with given name does not exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_errorCallback_invoke.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer getAllPlaylists method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_exist" priority="P0" purpose="Check if getAllPlaylists exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_misarg" priority="P2" purpose="Check if getAllPlaylists method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer getAllPlaylists method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo getAllPlaylists method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_exist" priority="P0" purpose="Check if getAllPlaylists exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_misarg" priority="P2" purpose="Check if getAllPlaylists method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo getAllPlaylists method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackItem" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackItem method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackItem_exist" priority="P0" purpose="Check if sendPlaybackItem exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackItem_misarg" priority="P2" purpose="Check if sendPlaybackItem method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch" priority="P2" purpose="Check if sendPlaybackItem throws exception when state is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaylistUpdatedListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo addPlaylistUpdatedListener method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaylistUpdatedListener_exist" priority="P0" purpose="check if addPlaylistUpdatedListener exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch" priority="P2" purpose="Check if addPlaylistUpdatedListener throws exception when listener is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid" priority="P2" purpose="Check if addPlaylistUpdatedListener throws exception when listener is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaylistUpdatedListener_misarg" priority="P2" purpose="Check if addPlaylistUpdatedListener method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaylistUpdatedListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo removePlaylistUpdatedListener method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaylistUpdatedListener.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaylistUpdatedListener_exist" priority="P0" purpose="check if removePlaylistUpdatedListener exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaylistUpdatedListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_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-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaylistUpdatedListener_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_playbackInfo_attribute" priority="P1" purpose="Check if attribute playbackInfo of MediaControllerServer exists, has type MediaControllerPlaybackInfo and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_playbackInfo_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_playbackInfo_attribute" priority="P1" purpose="Check if attribute playbackInfo of MediaControllerServerInfo exists, has type MediaControllerPlaybackInfo and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_playbackInfo_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateMetadata" priority="P1" purpose="Check if updateMetadata() works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateMetadata_exist" priority="P0" purpose="Check if method updateMetadata of MediaControllerServer exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateMetadata_invalid_obj" priority="P2" purpose="Check if updateMetadata() method throw exception when a fake system object was passed">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_invalid_obj.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateMetadata_metadata_TypeMismatch" priority="P2" purpose="Check argument metadata conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_metadata_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateMetadata_misarg" priority="P2" purpose="Check if updateMetadata method of MediaControllerServer called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackPosition" priority="P1" purpose="Check if MediaControllerServer updatePlaybackPosition method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackPosition_exist" priority="P0" purpose="Check if updatePlaybackPosition exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackPosition_misarg" priority="P2" purpose="Check if updatePlaybackPosition method of MediaControllerServer called with missing non-optional argument does not throw any exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackPosition_position_invalid" priority="P2" purpose="Check if updatePlaybackPosition method of MediaControllerServer called with negative value should NOT throw an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition_position_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackState" priority="P1" purpose="Check if MediaControllerServer updatePlaybackState method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackState_exist" priority="P0" purpose="Check if updatePlaybackState exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackState_misarg" priority="P2" purpose="Check if updatePlaybackState method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackState_state_TypeMismatch" priority="P2" purpose="Check argument state conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackState_state_invalid" priority="P2" purpose="Check updatePlaybackState throws type exception with invalid state value">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_state_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateRepeatState" priority="P1" purpose="Check if MediaControllerServer updateRepeatState method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateRepeatState_exist" priority="P0" purpose="Check if updateRepeatState exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateRepeatState_misarg" priority="P2" purpose="Check if updateRepeatState method of MediaControllerServer called with missing non-optional argument does NOT throw an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateRepeatState_state_TypeMismatch" priority="P2" purpose="Check argument state conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateShuffleMode" priority="P1" purpose="Check if MediaControllerServer updateShuffleMode method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateShuffleMode.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateShuffleMode_exist" priority="P0" purpose="Check if updateShuffleMode exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateShuffleMode_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateShuffleMode_misarg" priority="P2" purpose="Check if updateShuffleMode method of MediaControllerServer called with missing non-optional argument does NOT throw an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateShuffleMode_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackAgeRating" priority="P1" purpose="Check if MediaControllerServer updatePlaybackAgeRating method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackAgeRating_exist" priority="P0" purpose="Check if updatePlaybackAgeRating exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackAgeRating_misarg" priority="P2" purpose="Check if updatePlaybackAgeRating method of MediaControllerServer called with missing non-optional argument should throw an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch" priority="P2" purpose="Check argument rating conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackItem_exist" priority="P0" purpose="Check if updatePlaybackItem exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackItem_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackItem" priority="P1" purpose="Check if MediaControllerServer updatePlaybackItem method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackItem.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackContentType" priority="P1" purpose="Check if MediaControllerServer updatePlaybackContentType method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackContentType_exist" priority="P0" purpose="Check if updatePlaybackContentType exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackContentType_misarg" priority="P2" purpose="Check if updatePlaybackContentType method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch" priority="P2" purpose="Check argument contentType conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackContentType_contentType_invalid" priority="P2" purpose="Check updatePlaybackState throws type exception with invalid contentType value">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_contentType_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_extend" priority="P3" purpose="Check if MediaControllerPlaybackInfo object is extendable">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_extend.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_metadata_attribute" priority="P1" purpose="Check if attribute metadata of MediaControllerPlaybackInfo exists, has type object and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_metadata_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_notexist" priority="P3" purpose="Check if interface MediaControllerPlaybackInfo exists, it should not.">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_notexist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_position_attribute" priority="P1" purpose="Check if attribute position of MediaControllerPlaybackInfo exists, has type long and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_position_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_repeatState_attribute" priority="P1" purpose="Check if attribute repeatState of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_repeatState_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_shuffleMode_attribute" priority="P1" purpose="Check if attribute shuffleMode of MediaControllerPlaybackInfo exists, has type boolean and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_shuffleMode_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_state_attribute" priority="P1" purpose="Check if attribute state of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_state_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_ageRating_attribute" priority="P1" purpose="Check if attribute ageRating of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_ageRating_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_index_attribute" priority="P1" purpose="Check if attribute index of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_index_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_playlistName_attribute" priority="P1" purpose="Check if attribute playlistName of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_playlistName_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_contentType_attribute" priority="P1" purpose="Check if attribute contentType of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_contentType_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerChangeRequestPlaybackInfoCallback_onplaybackstaterequest" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaybackInfoChangeCallback onplaybackstaterequest is called and if its arguments have proper type">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_onplaybackstaterequest.html</test_script_entry>
+ </description>
+ </testcase>
</set>
<set name="Content">
<testcase purpose="Check if ContentDirectory have storageType attribute with proper type, readonly, not null" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectory_storageType_attribute">
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+<html>
+<head>
+<title>MediaControllerChangeRequestPlaybackInfoCallback_onplaybackstaterequest</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerChangeRequestPlaybackInfoCallback_onplaybackstaterequest
+//==== LABEL Check if MediaControllerPlaybackInfoChangeCallback onplaybackstaterequest is called and if its arguments have proper type
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerChangeRequestPlaybackInfoCallback:onplaybackstaterequest M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA CBOA CBT
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), watcherId, mcServer, mcClient, mcServerInfo, playbackRequestListener;
+
+t.step(function () {
+ playbackRequestListener = {
+ onplaybackstaterequest: t.step_func(function(state, clientName) {
+ assert_type(state, "string", "state should be a string");
+ assert_equals(state, "STOP", "state be requested to change");
+ assert_type(clientName, "string", "clientName should be a string");
+ assert_equals(clientName, mcServerInfo.name, "clientName should be correct");
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ mcServerInfo.sendPlaybackState("STOP");
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_ageRating_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_ageRating_attribute
+//==== LABEL Check if attribute ageRating of MediaControllerPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:ageRating A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO AVL
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_readonly(mcServer.playbackInfo, "ageRating", mcServer.playbackInfo.ageRating, "string", "20");
+ assert_in_array(mcServer.playbackInfo.ageRating, ["ALL", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19"], "Incorrect value of type");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_contentType_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_contentType_attribute
+//==== LABEL Check if attribute contentType of MediaControllerPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:contentType A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO AVL ADV
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ assert_equals(mcServer.playbackInfo.contentType, "UNDECIDED", "invalid default value of contentType");
+ check_readonly(mcServer.playbackInfo, "contentType", mcServer.playbackInfo.contentType, "string", "OTHER");
+ assert_in_array(mcServer.playbackInfo.contentType, ["IMAGE", "MUSIC", "VIDEO", "OTHER", "UNDECIDED"], "Incorrect value of type");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_extend</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_extend
+//==== LABEL Check if MediaControllerPlaybackInfo object is extendable
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:MediaControllerPlaybackInfo U
+//==== SPEC_URL TBD
+//==== PRIORITY P3
+//==== TEST_CRITERIA NIO
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_extensibility(mcServer.playbackInfo);
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_index_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_index_attribute
+//==== LABEL Check if attribute index of MediaControllerPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:index A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_readonly(mcServer.playbackInfo, "index", mcServer.playbackInfo.index, "string", "A");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_metadata_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_metadata_attribute
+//==== LABEL Check if attribute metadata of MediaControllerPlaybackInfo exists, has type object and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:metadata A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_readonly(mcServer.playbackInfo, "metadata", mcServer.playbackInfo.metadata, "object", null);
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_notexist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_notexist
+//==== LABEL Check if interface MediaControllerPlaybackInfo exists, it should not.
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:MediaControllerPlaybackInfo U
+//==== SPEC_URL TBD
+//==== PRIORITY P3
+//==== TEST_CRITERIA NIO
+
+test(function () {
+ check_no_interface_object("MediaControllerPlaybackInfo");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_playlistName_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_playlistName_attribute
+//==== LABEL Check if attribute playlistName of MediaControllerPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:playlistName A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_readonly(mcServer.playbackInfo, "playlistName", mcServer.playbackInfo.playlistName, "string", "A");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_position_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_position_attribute
+//==== LABEL Check if attribute position of MediaControllerPlaybackInfo exists, has type long and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:position A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_readonly(mcServer.playbackInfo, "position", mcServer.playbackInfo.position, "long", 100);
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_repeatState_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_repeatState_attribute
+//==== LABEL Check if attribute repeatState of MediaControllerPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:repeatState A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer, state;
+
+ mcServer= tizen.mediacontroller.createServer();
+ mcServer.updateRepeatState("REPEAT_OFF");
+ state = mcServer.playbackInfo.repeatState;
+ check_readonly(mcServer.playbackInfo, "repeatState", state, "string", "REPEAT_ALL");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_shuffleMode_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_shuffleMode_attribute
+//==== LABEL Check if attribute shuffleMode of MediaControllerPlaybackInfo exists, has type boolean and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:shuffleMode A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer, beforemode;
+
+ mcServer = tizen.mediacontroller.createServer();
+ beforemode = mcServer.playbackInfo.shuffleMode;
+ check_readonly(mcServer.playbackInfo, "shuffleMode", mcServer.playbackInfo.shuffleMode, "boolean", !beforemode);
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerPlaybackInfo_state_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerPlaybackInfo_state_attribute
+//==== LABEL Check if attribute state of MediaControllerPlaybackInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerPlaybackInfo:state A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO AVL
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_readonly(mcServer.playbackInfo, "state", mcServer.playbackInfo.state, "string", "FORWARD");
+ assert_in_array(mcServer.playbackInfo.state, ["PLAY", "PAUSE", "STOP", "NEXT", "PREV", "FORWARD", "REWIND"], "Incorrect value of type");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaybackInfoChangeListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaybackInfoChangeListener
+//==== LABEL Check if MediaControllerServerInfo addPlaybackInfoChangeListener method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, playbackListener, retVal = null;
+
+t.step(function () {
+ playbackListener = {
+ onplaybackchanged: t.step_func(function(state, position) {
+ assert_type(retVal, "long", "sendPlaybackPosition should return long");
+ assert_equals(state, "STOP", "state should be STOP");
+ mcServerInfo.removePlaybackInfoChangeListener(retVal);
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ retVal = mcServerInfo.addPlaybackInfoChangeListener(playbackListener);
+ mcServer.updatePlaybackState("STOP");
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaybackInfoChangeListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaybackInfoChangeListener_exist
+//==== LABEL check if addPlaybackInfoChangeListener exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "addPlaybackInfoChangeListener");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch
+//==== LABEL Check if addPlaybackInfoChangeListener throws exception when listener is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, mcClient, mcServerInfo, playbackListener, exceptionName, conversionTable, i;
+
+test(function () {
+ conversionTable = getTypeConversionExceptions("object", false);
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+
+ for (i = 0; i < conversionTable.length; i++) {
+ playbackListener = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.addPlaybackInfoChangeListener(playbackListener);
+ }, exceptionName + " should be thrown - given incorrect listener.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid
+//==== LABEL Check if addPlaybackInfoChangeListener throws exception when listener is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTL
+
+var mcClient, mcServer, mcServerInfo, playbackListener, exceptionName, incorrectListener, i;
+
+test(function () {
+ incorrectListener = getListenerConversionExceptions(["onplaybackchanged", "onshufflemodechanged",
+ "onrepeatmodechanged", "onmetadatachanged"]);
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+
+ for (i = 0; i < incorrectListener.length; i++) {
+ playbackListener = incorrectListener[i][0];
+ exceptionName = incorrectListener[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.addPlaybackInfoChangeListener(playbackListener);
+ }, exceptionName + " should be thrown - given incorrect listener.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg
+//==== LABEL Check if addPlaybackInfoChangeListener method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcClient, mcServerInfo;
+
+ tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.addPlaybackInfoChangeListener();
+ }, "Calling addPlaybackInfoChangeListener without arguments should throw an exception.");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaylistUpdatedListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaylistUpdatedListener
+//==== LABEL Check if addPlaylistUpdatedListener() works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+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.deletePlaylist("list");
+ });
+ ondelete = {
+ onplaylistdeleted: t.step_func(function(playlistName) {
+ assert_type(watcherId, "long", "watcherId should be type of number");
+ mcServerInfo.removePlaylistUpdatedListener(watcherId);
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ playlist = mcServer.createPlaylist("list");
+ mcServer.savePlaylist(playlist);
+ watcherId = mcServerInfo.addPlaylistUpdatedListener(ondelete);
+
+ mcServer.deletePlaylist("list");
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaylistUpdatedListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaylistUpdatedListener_exist
+//==== LABEL Check if method addPlaylistUpdatedListener of MediaControllerServerInfo exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addPlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "addPlaylistUpdatedListener");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch
+//==== LABEL Check argument listener conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo: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();
+ mcServer.updatePlaybackState("PLAY");
+ 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.addPlaylistUpdatedListener(incorrectCallback);
+ }, exceptionName + " should be thrown - given incorrect callback - " + incorrectCallback);
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid
+//==== LABEL Check if addPlaylistUpdatedListener throws exception when callback is invalid listener
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo: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();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ incorrectListener = getListenerConversionExceptions(["onplaylistupdated"]);
+
+ for (i = 0; i < incorrectListener.length; i++) {
+ statusChangeListener = incorrectListener[i][0];
+ exceptionName = incorrectListener[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.addPlaylistUpdatedListener(statusChangeListener);
+ }, exceptionName + " should be thrown - given incorrect listener.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_addServerStatusChangeListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_addServerStatusChangeListener_misarg
+//==== LABEL Check if addServerStatusChangeListener method of MediaControllerServerInfo called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:addServerStatusChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.addPlaylistUpdatedListener();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists
+//==== LABEL Check if MediaControllerServerInfo getAllPlaylists method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, successCallback, retVal = null;
+
+t.step(function () {
+ successCallback = t.step_func(function (playlists) {
+ assert_equals(retVal, undefined, "getAllPlaylists should return undefined");
+ t.done();
+ });
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ serverInfo = mcClient.getLatestServerInfo();
+ mcServer.createPlaylist("list");
+ retVal = serverInfo.getAllPlaylists(successCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch
+//==== LABEL Check if getAllPlaylists throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, conversionTable,
+ exceptionName, i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ serverInfo = mcClient.getLatestServerInfo();
+ mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("getAllPlaylists() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ serverInfo.getAllPlaylists(successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb
+//==== LABEL Check if getAllPlaylists throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("getAllPlaylists() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ serverInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ serverInfo.getAllPlaylists(successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists_exist
+//==== LABEL Check if getAllPlaylists exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, serverInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServer.createPlaylist("list");
+ serverInfo = mcClient.getLatestServerInfo();
+ check_method_exists(serverInfo, "getAllPlaylists");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists_misarg
+//==== LABEL Check if getAllPlaylists method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, serverInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServer.createPlaylist("list");
+ serverInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ serverInfo.getAllPlaylists();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch
+//==== LABEL Check if getAllPlaylists throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, conversionTable,
+ exceptionName, i, successCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServer.createPlaylist("list");
+ serverInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ serverInfo.getAllPlaylists(successCallback)
+ }, "Given incorrect success callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb
+//==== LABEL Check if getAllPlaylists throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ serverInfo = mcClient.getLatestServerInfo();
+ mcServer.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ serverInfo.getAllPlaylists(incorrectCallback);
+ }, "Given incorrect successCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_getAllPlaylists_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_getAllPlaylists_with_errorCallback
+//==== LABEL Check if MediaControllerServerInfo getAllPlaylists method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, successCallback,
+ errorCallback, retVal = null;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("getAllPlaylists() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "getAllPlaylists should return undefined");
+ t.done();
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ serverInfo = mcClient.getLatestServerInfo();
+ retVal = serverInfo.getAllPlaylists(successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_playbackInfo_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_playbackInfo_attribute
+//==== LABEL Check if attribute playbackInfo of MediaControllerServerInfo exists, has type MediaControllerPlaybackInfo and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:playbackInfo A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_own_property(mcServerInfo, "playbackInfo", "mcServerInfo does not own playbackInfo property.");
+ assert_type(mcServerInfo.playbackInfo, "object", "playbackInfo should be an object");
+ mcServerInfo.playbackInfo = null;
+ assert_not_equals(mcServerInfo.playbackInfo, null, "playbackInfo should not be modified");
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_removePlaybackInfoChangeListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_removePlaybackInfoChangeListener
+//==== LABEL Check if MediaControllerServerInfo removePlaybackInfoChangeListener method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, playbackListener, watchId, retVal = null;
+
+t.step(function () {
+ playbackListener = {
+ onplaybackchanged: t.step_func(function(state, position) {
+ retVal = mcServerInfo.removePlaybackInfoChangeListener(watchId);
+ assert_equals(retVal, undefined, "removePlaybackInfoChangeListener returns wrong value");
+ try {
+ mcServerInfo.removePlaybackInfoChangeListener(watchId);
+ } catch(e) {
+ assert_unreached("Calling removePlaybackInfoChangeListener twice should not throw an exception.");
+ }
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watchId = mcServerInfo.addPlaybackInfoChangeListener(playbackListener);
+ mcServer.updatePlaybackState("STOP");
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_removePlaybackInfoChangeListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_removePlaybackInfoChangeListener_exist
+//==== LABEL check if removePlaybackInfoChangeListener exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "removePlaybackInfoChangeListener");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg
+//==== LABEL Check if removePlaybackInfoChangeListener method called with missing non-optional argument does not throw any exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ try {
+ mcServerInfo.removePlaybackInfoChangeListener();
+ } catch(e) {
+ assert_unreached("Calling removePlaybackInfoChangeListener without arguments should not throw an exception.");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid
+//==== LABEL Check if removePlaybackInfoChangeListener method of MediaControllerServerInfo called with invalid value throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaybackInfoChangeListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ try {
+ mcServerInfo.removePlaybackInfoChangeListener(-1);
+ } catch (e) {
+ assert_unreached("Should not throw exception, but threw " + e.name);
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_removePlaylistUpdatedListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_removePlaylistUpdatedListener
+//==== LABEL Check if MediaControllerServerInfo removePlaylistUpdatedListener method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+//==== 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.deletePlaylist("list");
+ });
+ ondelete = {
+ onplaylistdeleted: t.step_func(function(playlistName) {
+ retVal = mcServerInfo.removePlaylistUpdatedListener(watcherId);
+ assert_equals(retVal, undefined, "return value should be undefined");
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ playlist = mcServer.createPlaylist("list");
+ mcServer.savePlaylist(playlist);
+ watcherId = mcServerInfo.addPlaylistUpdatedListener(ondelete);
+
+ mcServer.deletePlaylist("list");
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_removePlaylistUpdatedListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_removePlaylistUpdatedListener_exist
+//==== LABEL check if removePlaylistUpdatedListener exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "removePlaylistUpdatedListener");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_removePlaylistUpdatedListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_removePlaylistUpdatedListener_misarg
+//==== LABEL Check if removePlaylistUpdatedListener method called with missing non-optional argument does not throw any exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:removePlaylistUpdatedListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ try {
+ mcServerInfo.removePlaylistUpdatedListener();
+ } catch(e) {
+ assert_unreached("Calling removePlaylistUpdatedListener without arguments should not throw an exception.");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackItem</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackItem
+//==== LABEL Check if MediaControllerServerInfo sendPlaybackItem method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR
+
+test(function () {
+ var mcServer, mcClient, serverInfo, retVal = null;
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ serverInfo = mcClient.getLatestServerInfo();
+ mcServer.createPlaylist("list");
+ retVal = serverInfo.sendPlaybackItem("list", "1", "PLAY", 0);
+ assert_equals(retVal, undefined, "sendPlaybackItem should return undefined");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackItem_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackItem_exist
+//==== LABEL Check if sendPlaybackItem exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, serverInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServer.createPlaylist("list");
+ serverInfo = mcClient.getLatestServerInfo();
+ check_method_exists(serverInfo, "sendPlaybackItem");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+ <!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackItem_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackItem_misarg
+//==== LABEL Check if sendPlaybackItem method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, serverInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServer.createPlaylist("list");
+ serverInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ serverInfo.sendPlaybackItem();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch
+//==== LABEL Check if sendPlaybackItem throws exception when state is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, serverInfo, conversionTable,
+ exceptionName, i, state;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ serverInfo = mcClient.getLatestServerInfo();
+ mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("enum", false);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ state = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ serverInfo.sendPlaybackItem("list", "1", state, 0)
+ }, "Given incorrect state.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition
+//==== LABEL Check if MediaControllerServerInfo sendPlaybackPosition method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, watcherId, successCallback,
+ beforeposition, retVal = null, playbackRequestListener, flag = 0;
+
+t.step(function () {
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "sendPlaybackPosition should return undefined");
+ if(++flag == 2) t.done();
+ });
+
+ playbackRequestListener = {
+ onplaybackpositionrequest: t.step_func(function(position) {
+ assert_type(position, "long", "position should be a long number");
+ assert_greater_than_equal(position, beforeposition + 10, "position should be equal or bigger than set position");
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ if(++flag == 2) t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ beforeposition = mcServer.playbackInfo.position;
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ retVal = mcServerInfo.sendPlaybackPosition(beforeposition + 10, successCallback);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch
+//==== LABEL Check if sendPlaybackPosition throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, conversionTable, exceptionName,
+ i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("sendPlaybackPosition() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendPlaybackPosition(120, successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb
+//==== LABEL Check if sendPlaybackPosition throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("sendPlaybackPosition() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.sendPlaybackPosition(120, successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_exist
+//==== LABEL Check if sendPlaybackPosition exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "sendPlaybackPosition");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_misarg
+//==== LABEL Check if sendPlaybackPosition method called with missing non-optional argument does NOT throw an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ try {
+ mcServerInfo.sendPlaybackPosition();
+ } catch(e) {
+ assert_unreached("Should not throw any exception, but threw " + e.name + e.message);
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch
+//==== LABEL Check if sendPlaybackPosition throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i, successCallback;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendPlaybackPosition(120, successCallback)
+ }, "Given incorrect success callback.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb
+//==== LABEL Check if sendPlaybackPosition throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, errorCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("sendPlaybackPosition() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.sendPlaybackPosition(120, incorrectCallback, errorCallback);
+ }, "Given incorrect successCallback.");
+
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback
+//==== LABEL Check if MediaControllerServerInfo sendPlaybackPosition method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, watcherId, beforeposition,
+ successCallback, errorCallback, playbackRequestListener, retVal = null, flag = 0;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("sendPlaybackPosition() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "sendPlaybackPosition should return undefined.");
+ if(++flag == 2) t.done();
+ });
+
+ playbackRequestListener = {
+ onplaybackpositionrequest: t.step_func(function(position) {
+ assert_type(position, "long", "position should be a number.");
+ assert_greater_than_equal(position, beforeposition + 10, "Should be equal or greater than set value");
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ if(++flag == 2) t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ beforeposition = mcServer.playbackInfo.position;
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ retVal = mcServerInfo.sendPlaybackPosition(beforeposition + 10, successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState
+//==== LABEL Check if MediaControllerServerInfo sendPlaybackState method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, successCallback,
+ watcherId, retVal = null, playbackRequestListener, flag = 0;
+
+t.step(function () {
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "sendPlaybackState should return undefined");
+ if(++flag == 2) t.done();
+ });
+
+ playbackRequestListener = {
+ onplaybackstaterequest: t.step_func(function(state) {
+ assert_type(state, "string", "state should be a string");
+ assert_equals(state, "STOP", "state be requested to change");
+ mcServer.updatePlaybackState(state);
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ if(++flag == 2) t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ retVal = mcServerInfo.sendPlaybackState("STOP", successCallback);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch
+//==== LABEL Check if sendPlaybackState throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, conversionTable,
+ exceptionName, i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("sendPlaybackState() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendPlaybackState("STOP", successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb
+//==== LABEL Check if sendPlaybackState throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("sendPlaybackState() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.sendPlaybackState("STOP", successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_exist
+//==== LABEL Check if sendPlaybackState exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "sendPlaybackState");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_misarg
+//==== LABEL Check if sendPlaybackState method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.sendPlaybackState();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch
+//==== LABEL Check if sendPlaybackState throws exception when state is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("enum", false);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ state = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendPlaybackState(state)
+ }, "Given incorrect state");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch
+//==== LABEL Check if sendPlaybackState throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i, successCallback;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendPlaybackState('PLAY', successCallback)
+ }, "Given incorrect success callback.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb
+//==== LABEL Check if sendPlaybackState throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServerInfo, incorrectCallback, errorCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("sendPlaybackState() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.sendPlaybackState("PLAY", incorrectCallback, errorCallback);
+ }, "Given incorrect successCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendPlaybackState_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendPlaybackState_with_errorCallback
+//==== LABEL Check if MediaControllerServerInfo sendPlaybackState method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendPlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, successCallback,
+ errorCallback, retVal = null, watcherId, playbackRequestListener, flag = 0;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("sendPlaybackState() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "sendPlaybackState should return undefined");
+ if (++flag == 2) t.done();
+ });
+
+ playbackRequestListener = {
+ onplaybackstaterequest: t.step_func(function(state) {
+ assert_type(state, "string", "state should be a string");
+ assert_equals(state, "STOP", "state be requested to change");
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ if (++flag == 2) t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ retVal = mcServerInfo.sendPlaybackState("STOP", successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState
+//==== LABEL Check if sendRepeatState() works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo, retValue = null;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.updatePlaybackState("PLAY");
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ retValue = mcServerInfo.sendRepeatState("REPEAT_OFF");
+ assert_equals(retValue, undefined, "sendRepeatState returns wrong value");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch
+//==== LABEL Check argument errorCallback conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 90
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), mcServer, mcClient, mcServerInfo, incorrectCallback,
+ successCallback, exceptionName, i, conversionTable;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+
+ successCallback = t.step_func(function () {
+ assert_unreached("sendRepeatState() success callback invoked");
+ });
+
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ incorrectCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendRepeatState("REPEAT_OFF", successCallback, incorrectCallback);
+ }, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb
+//==== LABEL Check if sendRepeatState throws exception when errorCallback is invalid
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), exceptionName = "TypeMismatchError", mcServer, mcClient,
+ mcServerInfo, onsuccessCB, incorrectCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+
+ incorrectCallback = {
+ onerror: t.step_func(function () {
+ assert_unreached("sendRepeatState() invalid error callback invoked.");
+ })
+ };
+
+ onsuccessCB = t.step_func(function () {
+ assert_unreached("sendRepeatState() sucess callback invoked.");
+ });
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendRepeatState("REPEAT_OFF", onsuccessCB, incorrectCallback);
+ }, exceptionName + " should be thrown - given incorrect error callback");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState_exist
+//==== LABEL Check if method sendRepeatState of MediaControllerServerInfo exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "sendRepeatState");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState_state_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState_state_TypeMismatch
+//==== LABEL Check argument state conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 90
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), mcServer, mcClient, mcServerInfo, state,
+ exceptionName, i, conversionTable;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+
+ conversionTable = getTypeConversionExceptions("enum", false);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ state = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendRepeatState(state);
+ }, exceptionName + " should be thrown - given incorrect state");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch
+//==== LABEL Check argument successCallback conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState 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();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ incorrectCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendRepeatState("REPEAT_OFF", incorrectCallback);
+ }, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb
+//==== LABEL Check if sendRepeatState throws exception when successCallback is invalid
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), exceptionName = "TypeMismatchError", mcServer, mcClient,
+ mcServerInfo, incorrectCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("sendRepeatState() success callback invoked.");
+ })
+ };
+
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendRepeatState("REPEAT_OFF", incorrectCallback);
+ }, exceptionName + " should be thrown - given incorrect success callback");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendRepeatState_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendRepeatState_with_errorCallback
+//==== LABEL Check if sendRepeatState method works properly with errorCallback argument
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), mcClient, mcServer, mcServerInfo,
+ onsuccessCB, onerrorCB, retValue = null;
+
+t.step(function () {
+ onsuccessCB = t.step_func(function (){
+ assert_equals(retValue, undefined, "sendRepeatState returns wrong value");
+ t.done();
+ });
+
+ onerrorCB = t.step_func(function (error) {
+ assert_unreached("errorCallback is invoked");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ retValue = mcServerInfo.sendRepeatMode("REPEAT_OFF", onsuccessCB, onerrorCB);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendShuffleMode</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendShuffleMode
+//==== LABEL Check if MediaControllerServerInfo sendShuffleMode method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, successCallback, retVal = null,
+ beforemode, watcherId, playbackRequestListener, flag = 0;
+
+t.step(function () {
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "sendShuffleMode should return undefined");
+ if (++flag == 2) t.done();
+ });
+
+ playbackRequestListener = {
+ onshufflemoderequest: t.step_func(function(mode) {
+ assert_type(mode, "boolean", "shuffleMode should be a boolean");
+ assert_equals(mode, !beforemode, "shuffleMode be requested to change");
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ if (++flag == 2) t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ beforemode = mcServer.playbackInfo.shuffleMode;
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ retVal = mcServerInfo.sendShuffleMode(!beforemode, successCallback);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch
+//==== LABEL Check if sendShuffleMode throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("sendShuffleMode() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendShuffleMode(true, successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb
+//==== LABEL Check if sendShuffleMode throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, mcClient, mcServerInfo, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("sendShuffleMode() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.sendShuffleMode(true, successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendShuffleMode_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendShuffleMode_exist
+//==== LABEL Check if sendShuffleMode exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer, mcClient, mcServerInfo;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ check_method_exists(mcServerInfo, "sendShuffleMode");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch
+//==== LABEL Check if sendShuffleMode throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, mcClient, mcServerInfo, conversionTable, exceptionName, i, successCallback;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServerInfo.sendShuffleMode(true, successCallback)
+ }, "Given incorrect success callback.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb
+//==== LABEL Check if sendShuffleMode throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServerInfo, errorCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("sendShuffleMode() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServerInfo.sendShuffleMode(true, incorrectCallback, errorCallback);
+ }, "Given incorrect successCallback.");
+
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServerInfo_sendShuffleMode_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServerInfo_sendShuffleMode_with_errorCallback
+//==== LABEL Check if MediaControllerServerInfo sendShuffleMode method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServerInfo:sendShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcClient, mcServer, mcServerInfo, successCallback, errorCallback, retVal = null, beforemode, watcherId, playbackRequestListener, flag = 0;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("sendShuffleMode() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "sendShuffleMode should return undefined");
+ if (++flag == 2) t.done();
+ });
+
+ playbackRequestListener = {
+ onshufflemoderequest: t.step_func(function(mode) {
+ assert_type(mode, "boolean", "shuffleMode should be a boolean");
+ assert_equals(mode, !beforemode, "shuffleMode be requested to change");
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ if (++flag == 2) t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ beforemode = mcServer.playbackInfo.shuffleMode;
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ retVal = mcServerInfo.sendShuffleMode(!beforemode, successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_addChangeRequestPlaybackInfoListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_addChangeRequestPlaybackInfoListener
+//==== LABEL Check if addChangeRequestPlaybackInfoListener() works properly
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:addChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), watcherId, mcServer, mcClient, mcServerInfo, playbackRequestListener;
+
+t.step(function () {
+ playbackRequestListener = {
+ onplaybackpositionrequest: t.step_func(function (position) {
+ assert_not_equals(watcherId, null, "id should be not null");
+ assert_type(watcherId, "long", "watcherId should be type of number");
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ mcServerInfo.sendPlaybackPosition(164);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_addChangeRequestPlaybackInfoListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_addChangeRequestPlaybackInfoListener_exist
+//==== LABEL Check if method addChangeRequestPlaybackInfoListener of MediaControllerServer exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:addChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+
+ check_method_exists(mcServer, "addChangeRequestPlaybackInfoListener");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Author:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch
+//==== LABEL Check if addChangeRequestPlaybackInfoListener throws exception when listener is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:addChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, playbackRequestListener, exceptionName, i, conversionTable;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ conversionTable = getTypeConversionExceptions("object", false);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ playbackRequestListener = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ }, exceptionName + " should be thrown - given incorrect success callback.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid
+//==== LABEL Check if addChangeRequestPlaybackInfoListener throws exception when callback is inavlid listener
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:addChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTL
+
+var mcServer, playbackRequestListener, incorrectListener, exceptionName, i;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ incorrectListener = getListenerConversionExceptions(["onplaybackstaterequest", "onplaybackpositionrequest",
+ "onshufflemoderequest", "onrepeatmoderequest"]);
+
+ for (i = 0; i < incorrectListener.length; i++) {
+ playbackRequestListener = incorrectListener[i][0];
+ exceptionName = incorrectListener[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ }, exceptionName + " should be thrown - given incorrect success callback.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg
+//==== LABEL Check if addChangeRequestPlaybackInfoListener method of MediaControllerServer called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:addChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.addChangeRequestPlaybackInfoListener();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_createPlaylist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_createPlaylist
+//==== LABEL Check if MediaControllerServer createPlaylist method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:createPlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, retVal = null;
+
+ mcServer = tizen.mediacontroller.createServer();
+ retVal = mcServer.createPlaylist("PlayList");
+ assert_type(retVal, "object", "createPlaylist should return object")
+ assert_equals(retVal.name, "PlayList", "invalid name in return object");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_createPlaylist_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_createPlaylist_exist
+//==== LABEL Check if method createPlaylist of MediaControllerServer exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:createPlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "createPlaylist");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_createPlaylist_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_createPlaylist_invalid
+//==== LABEL Check if createPlaylist thrown invalid exception when playlist name already exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:createPlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("PlayList");
+ assert_throws(INVALID_VALUES_EXCEPTION,
+ function () {
+ mcServer.createPlaylist("PlayList");
+ }, "InvalidValuesError should be thrown.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist
+//==== LABEL Check if MediaControllerServer deletePlaylist method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+
+test(function () {
+ var mcServer, retValue = null;
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ retValue = mcServer.deletePlaylist("list");
+ assert_equals(retValue, undefined, "deletePlaylist returns wrong value");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch
+//==== LABEL Check if deletePlaylist throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, conversionTable,
+ exceptionName, i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("deletePlaylist() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.deletePlaylist("list", successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist_errorCallback_invalid_cb
+//==== LABEL Check if deletePlaylist throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("deletePlaylist() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.deletePlaylist("list", successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist_errorCallback_invoke</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist_errorCallback_invoke
+//==== LABEL Check if errorCallback invoked when playlist with given name does not exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MERRCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback,
+ errorCallback;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_equals(error.name, "InvalidValuesError", "Invalid error name returned");
+ t.done();
+ });
+
+ successCallback = t.step_func(function () {
+ assert_unreached("deletePlaylist() successCallback should not be invoked");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.deletePlaylist("list", successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist_exist
+//==== LABEL Check if deletePlaylist exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "deletePlaylist");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist_successCallback_TypeMismatch
+//==== LABEL Check if deletePlaylist throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, conversionTable,
+ exceptionName, i, successCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.savePlaylist("list", successCallback)
+ }, "Given incorrect success callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist_successCallback_invalid_cb
+//==== LABEL Check if deletePlaylist throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.deletePlaylist("list", incorrectCallback);
+ }, "Given incorrect successCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_deletePlaylist_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_deletePlaylist_with_errorCallback
+//==== LABEL Check if MediaControllerServer deletePlaylist method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:deletePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback,
+ errorCallback, retVal = null;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("deletePlaylist() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "deletePlaylist should return undefined");
+ t.done();
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ retVal = mcServer.deletePlaylist("list", successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists
+//==== LABEL Check if MediaControllerServer getAllPlaylists method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback, retVal = null;
+
+t.step(function () {
+ successCallback = t.step_func(function (playlists) {
+ assert_equals(retVal, undefined, "getAllPlaylists should return undefined");
+ t.done();
+ });
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ retVal = mcServer.getAllPlaylists(successCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch
+//==== LABEL Check if getAllPlaylists throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, conversionTable,
+ exceptionName, i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("getAllPlaylists() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.getAllPlaylists(successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb
+//==== LABEL Check if getAllPlaylists throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("getAllPlaylists() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.getAllPlaylists(successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists_exist
+//==== LABEL Check if getAllPlaylists exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "getAllPlaylists");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists_misarg
+//==== LABEL Check if getAllPlaylists method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.getAllPlaylists();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch
+//==== LABEL Check if getAllPlaylists throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, conversionTable,
+ exceptionName, i, successCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.getAllPlaylists(successCallback)
+ }, "Given incorrect success callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists_successCallback_invalid_cb
+//==== LABEL Check if getAllPlaylists throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.getAllPlaylists(incorrectCallback);
+ }, "Given incorrect successCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_getAllPlaylists_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_getAllPlaylists_with_errorCallback
+//==== LABEL Check if MediaControllerServer getAllPlaylists method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:getAllPlaylists M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, successCallback,
+ errorCallback, retVal = null;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("getAllPlaylists() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "getAllPlaylists should return undefined");
+ t.done();
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcServer.createPlaylist("list");
+ retVal = mcServer.getAllPlaylists(successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_playbackInfo_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_playbackInfo_attribute
+//==== LABEL Check if attribute playbackInfo of MediaControllerServer exists, has type MediaControllerPlaybackInfo and is readonly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:playbackInfo A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var mcServer= tizen.mediacontroller.createServer();
+ check_readonly(mcServer, "playbackInfo", mcServer.playbackInfo, "object", null);
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_removeChangeRequestPlaybackInfoListener</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_removeChangeRequestPlaybackInfoListener
+//==== LABEL Check if removeChangeRequestPlaybackInfoListener() works properly
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:removeChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), watcherId, mcServer, mcClient, mcServerInfo, playbackRequestListener, retValue = null;
+
+t.step(function () {
+ playbackRequestListener = {
+ onplaybackpositionrequest: t.step_func(function (position) {
+ retValue = mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ assert_equals(retValue, undefined, "removeChangeRequestPlaybackInfoListener returns wrong value");
+ try {
+ mcServer.removeChangeRequestPlaybackInfoListener(watcherId);
+ } catch(e) {
+ assert_unreached("Calling removeChangeRequestPlaybackInfoListener twice should not throw an exception.");
+ }
+ t.done();
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ mcClient = tizen.mediacontroller.getClient();
+ mcServer.updatePlaybackState("PLAY");
+ mcServerInfo = mcClient.getLatestServerInfo();
+ watcherId = mcServer.addChangeRequestPlaybackInfoListener(playbackRequestListener);
+ mcServerInfo.sendPlaybackPosition(164);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist
+//==== LABEL Check if method removeChangeRequestPlaybackInfoListener of MediaControllerServer exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:removeChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "removeChangeRequestPlaybackInfoListener");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg
+//==== LABEL Check if removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with missing non-optional argument does NOT throw any exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:removeChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ try {
+ mcServer.removeChangeRequestPlaybackInfoListener();
+ } catch (e) {
+ assert_unreached("Should not throw exception, but threw " + e.name);
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid
+//==== LABEL Check if removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with invalid value does not throw any exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:removeChangeRequestPlaybackInfoListener M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ try {
+ mcServer.removeChangeRequestPlaybackInfoListener(-1);
+ } catch (e) {
+ assert_unreached("Should not throw exception, but threw " + e.name);
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist
+//==== LABEL Check if MediaControllerServer savePlaylist method without optional argument works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+
+test(function () {
+ var mcServer, playlist, retValue = null;
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("list");
+ retValue = mcServer.savePlaylist(playlist);
+ assert_equals(retValue, undefined, "savePlaylist returns wrong value");
+ mcServer.deletePlaylist("list");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_errorCallback_TypeMismatch
+//==== LABEL Check if savePlaylist throws exception when errorCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, conversionTable,
+ exceptionName, i, successCallback, errorCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ successCallback = t.step_func(function () {
+ assert_unreached("savePlaylist() success callback should not be invoked.");
+ });
+
+ for (i = 0; i < conversionTable.length; i++) {
+ errorCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.savePlaylist(playlist, successCallback, errorCallback)
+ }, "Given incorrect error callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_errorCallback_invalid_cb
+//==== LABEL Check if savePlaylist throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, successCallback, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
+ })
+ };
+
+ successCallback = t.step_func(function () {
+ assert_unreached("savePlaylist() success callback should not be invoked.");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.savePlaylist(playlist, successCallback, incorrectCallback);
+ }, "Given incorrect errorCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_errorCallback_invoke</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_errorCallback_invoke
+//==== LABEL Check if errorCallback invoked when playlist with given name does not exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MERRCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, successCallback,
+ errorCallback;
+
+t.step(function () {
+ errorCallback = t.step_func(function (error) {
+ assert_equals(error.name, "InvalidValuesError", "Invalid error name returned");
+ t.done();
+ });
+
+ successCallback = t.step_func(function () {
+ assert_unreached("savePlaylist() successCallback should not be invoked");
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("list");
+ mcServer.deletePlaylist("list");
+ mcServer.savePlaylist(playlist, successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_exist
+//==== LABEL Check if savePlaylist exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "savePlaylist");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_misarg
+//==== LABEL Check if savePlaylist method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer = tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.savePlaylist();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_playlist_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_playlist_TypeMismatch
+//==== LABEL Check if savePlaylist throws exception when playlist is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+var mcServer, playlist, conversionTable, exceptionName, i;
+
+test(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ conversionTable = getTypeConversionExceptions("object", false);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ playlist = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.savePlaylist(playlist)
+ }, "Given incorrect playlist");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_successCallback_TypeMismatch
+//==== LABEL Check if savePlaylist throws exception when successCallback is incorrect
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, conversionTable,
+ exceptionName, i, successCallback;
+
+t.step(function () {
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("list");
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+
+ for (i = 0; i < conversionTable.length; i++) {
+ successCallback = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.savePlaylist(playlist, successCallback)
+ }, "Given incorrect success callback.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_successCallback_invalid_cb
+//==== LABEL Check if savePlaylist throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, incorrectCallback;
+
+t.step(function () {
+ incorrectCallback = {
+ onsuccess: t.step_func(function () {
+ assert_unreached("Invalid success callback invoked");
+ })
+ };
+
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("list");
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.savePlaylist(playlist, incorrectCallback);
+ }, "Given incorrect successCallback.");
+ t.done();
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_savePlaylist_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_savePlaylist_with_errorCallback
+//==== LABEL Check if MediaControllerServer savePlaylist method with all optional arguments works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:savePlaylist M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+//==== ONLOAD_DELAY 30
+
+setup({timeout: 30000});
+
+var t = async_test(document.title, {timeout: 30000}), mcServer, playlist, successCallback,
+ errorCallback, retVal = null;
+
+t.step(function () {
+ add_result_callback(function () {
+ mcServer.deletePlaylist("list");
+ });
+ errorCallback = t.step_func(function (error) {
+ assert_unreached("savePlaylist() error callback should not be invoked:" + error.name + ": " + error.message);
+ });
+
+ successCallback = t.step_func(function () {
+ assert_equals(retVal, undefined, "savePlaylist should return undefined");
+ t.done();
+ });
+
+ mcServer = tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("list");
+ retVal = mcServer.savePlaylist(playlist, successCallback, errorCallback);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateIconURI</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateIconURI
+//==== LABEL Check if MediaControllerServer updateIconURI method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateIconURI M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var server, client, sinfo, uri = "http://example.com/res/icon2.ico", retVal = null;
+
+ server = tizen.mediacontroller.createServer();
+ server.updatePlaybackState("PLAY");
+ client = tizen.mediacontroller.getClient();
+ sinfo = client.getLatestServerInfo();
+ retVal = server.updateIconURI(uri);
+ assert_equals(retVal, undefined, "updateIconURI should return undefined");
+ assert_equals(sinfo.iconURI, uri, "update iconURI failed");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateIconURI_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateIconURI_exist
+//==== LABEL Check if method updateIconURI of MediaControllerServer exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateIconURI M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updateIconURI");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateMetadata</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateMetadata
+//==== LABEL Check if updateMetadata() works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateMetadata M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, metadata, retValue;
+
+ mcServer = tizen.mediacontroller.createServer();
+ metadata = mcServer.playbackInfo.metadata;
+ metadata.artist = "Artist Name";
+ retValue = mcServer.updateMetadata(metadata);
+ assert_equals(retValue, undefined, "updateMetadata returns wrong value");
+ metadata.artist = "New Name";
+ mcServer.updateMetadata(metadata);
+ assert_equals(mcServer.playbackInfo.metadata.artist, "New Name", "artist should be updated");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateMetadata_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateMetadata_exist
+//==== LABEL Check if method updateMetadata of MediaControllerServer exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateMetadata M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updateMetadata");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateMetadata_invalid_obj</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateMetadata_invalid_obj
+//==== LABEL Check if updateMetadata() method throw exception when a fake system object was passed
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateMetadata M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTO
+
+test(function () {
+ var mcServer, metadata;
+
+ mcServer = tizen.mediacontroller.createServer();
+ metadata = {
+ invalid_title: "Black Widow",
+ invalid_artist: "Iggy Azalea",
+ invalid_album: "The New Classic",
+ invalid_author: "Iggy Azalea",
+ invalid_genre: "popular",
+ invalid_duration: "03:28",
+ invalid_date: "2014-04-22",
+ invalid_copyright: "Iggy Azalea",
+ invalid_description: "Like a black widow, baby",
+ invalid_trackNum: "123",
+ invalid_picture: "aa"
+ };
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updateMetadata(metadata);
+ }, "fake system object was pased but exception wasn't thrown");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateMetadata_metadata_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateMetadata_metadata_TypeMismatch
+//==== LABEL Check argument metadata conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateMetadata M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, metadata, exceptionName, i, conversionTable;
+
+ conversionTable = getTypeConversionExceptions("object", false);
+ mcServer= tizen.mediacontroller.createServer();
+
+ for (i = 0; i < conversionTable.length; i++) {
+ metadata = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.updateMetadata(metadata);
+ }, exceptionName + " should be thrown - given incorrect metadata.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Shanglong Yang <sl85.yang@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateMetadata_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateMetadata_misarg
+//==== LABEL Check if updateMetadata method of MediaControllerServer called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateMetadata M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updateMetadata();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackAgeRating</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackAgeRating
+//==== LABEL Check if MediaControllerServer updatePlaybackAgeRating method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackAgeRating M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, retVal = null;
+
+ mcServer= tizen.mediacontroller.createServer();
+ mcServer.updatePlaybackAgeRating("1");
+ retVal = mcServer.updatePlaybackAgeRating("2");
+ assert_equals(retVal, undefined, "updatePlaybackAgeRating should return undefined");
+ assert_equals(mcServer.playbackInfo.ageRating, "2", "ageRating should be updated");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackAgeRating_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackAgeRating_exist
+//==== LABEL Check if updatePlaybackAgeRating exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackAgeRating M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updatePlaybackAgeRating");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackAgeRating_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackAgeRating_misarg
+//==== LABEL Check if updatePlaybackAgeRating method of MediaControllerServer called with missing non-optional argument should throw an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackAgeRating M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+ mcServer= tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updatePlaybackAgeRating();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch
+//==== LABEL Check argument rating conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackAgeRating M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, rating, exceptionName, i, conversionTable;
+
+ conversionTable = getTypeConversionExceptions("enum", false);
+ mcServer= tizen.mediacontroller.createServer();
+
+ for (i = 0; i < conversionTable.length; i++) {
+ rating = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.updatePlaybackAgeRating(rating);
+ }, exceptionName + " should be thrown - given incorrect rating.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackContentType</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackContentType
+//==== LABEL Check if MediaControllerServer updatePlaybackContentType method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackContentType M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, retVal = null;
+
+ mcServer= tizen.mediacontroller.createServer();
+ retVal = mcServer.updatePlaybackContentType("MUSIC");
+ assert_equals(retVal, undefined, "updatePlaybackContentType should return undefined");
+ assert_equals(mcServer.playbackInfo.contentType, "MUSIC", "contentType should be updated");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch
+//==== LABEL Check argument contentType conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackContentType M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, contentType, exceptionName, i, conversionTable;
+
+ conversionTable = getTypeConversionExceptions("enum", false);
+ mcServer= tizen.mediacontroller.createServer();
+
+ for (i = 0; i < conversionTable.length; i++) {
+ contentType = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.updatePlaybackContentType(contentType);
+ }, exceptionName + " should be thrown - given incorrect contentType.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackContentType_contentType_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackContentType_contentType_invalid
+//==== LABEL Check updatePlaybackContentType throws type exception with invalid contentType value
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackContentType M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer;
+
+ mcServer= tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updatePlaybackContentType("ABC");
+ }, "Calling updatePlaybackContentType with invalid arguments should throw an exception.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackContentType_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackContentType_exist
+//==== LABEL Check if updatePlaybackContentType exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackContentType M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updatePlaybackContentType");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackContentType_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackContentType_misarg
+//==== LABEL Check if updatePlaybackContentType method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackContentType M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer= tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updatePlaybackContentType();
+ }, "Calling updatePlaybackContentType without arguments should throw an exception.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackItem</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackItem
+//==== LABEL Check if MediaControllerServer updatePlaybackItem method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, metadata, playlist, retVal = null;
+
+ mcServer= tizen.mediacontroller.createServer();
+ playlist = mcServer.createPlaylist("PlayList");
+ metadata =
+ {
+ title: "testTitle"
+ };
+ playlist.addItem("index1", metadata);
+ mcServer.savePlaylist(playlist);
+ retVal = mcServer.updatePlaybackItem("PlayList", "index1");
+ assert_equals(retVal, undefined, "updatePlaybackItem returns wrong value");
+ assert_equals(mcServer.playbackInfo.index, "index1", "update index failed");
+ mcServer.deletePlaylist("PlayList");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackItem_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackItem_exist
+//==== LABEL Check if method updatePlaybackItem of MediaControllerServer exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackItem M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updatePlaybackItem");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackPosition</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackPosition
+//==== LABEL Check if MediaControllerServer updatePlaybackPosition method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, retVal = null, beforeposition;
+
+ mcServer = tizen.mediacontroller.createServer();
+ beforeposition = mcServer.playbackInfo.position;
+ retVal = mcServer.updatePlaybackPosition(beforeposition + 10);
+ assert_equals(retVal, undefined, "updatePlaybackPosition should return undefined");
+ assert_greater_than_equal(mcServer.playbackInfo.position, beforeposition + 10, "position should be updated");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackPosition_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackPosition_exist
+//==== LABEL Check if updatePlaybackPosition exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updatePlaybackPosition");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackPosition_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackPosition_misarg
+//==== LABEL Check if updatePlaybackPosition method of MediaControllerServer called with missing non-optional argument does not throw any exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer= tizen.mediacontroller.createServer();
+ try {
+ mcServer.updatePlaybackPosition();
+ } catch (e) {
+ assert_unreached("Calling updatePlaybackPosition without arguments should NOT throw an exception.");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackPosition_position_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackPosition_position_invalid
+//==== LABEL Check if updatePlaybackPosition method of MediaControllerServer called with negative value should NOT throw an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackPosition M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer= tizen.mediacontroller.createServer();
+ try {
+ mcServer.updatePlaybackPosition(-1);
+ } catch (e) {
+ assert_unreached("Calling updatePlaybackPosition with negative value should NOT throw an exception.");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackState</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackState
+//==== LABEL Check if MediaControllerServer updatePlaybackState method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, retVal = null;
+
+ mcServer= tizen.mediacontroller.createServer();
+ retVal = mcServer.updatePlaybackState("PLAY");
+ assert_equals(retVal, undefined, "updatePlaybackState should return undefined");
+ mcServer.updatePlaybackState("NEXT");
+ assert_equals(mcServer.playbackInfo.state, "NEXT", "state should be updated");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackState_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackState_exist
+//==== LABEL Check if updatePlaybackState exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updatePlaybackState");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackState_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackState_misarg
+//==== LABEL Check if updatePlaybackState method called with missing non-optional argument throws an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer= tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updatePlaybackState();
+ }, "Calling updatePlaybackState without arguments should throw an exception.");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackState_state_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackState_state_TypeMismatch
+//==== LABEL Check argument state conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, state, exceptionName, i, conversionTable;
+
+ conversionTable = getTypeConversionExceptions("enum", false);
+ mcServer= tizen.mediacontroller.createServer();
+
+ for (i = 0; i < conversionTable.length; i++) {
+ state = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.updatePlaybackState(state);
+ }, exceptionName + " should be thrown - given incorrect state.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updatePlaybackState_state_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updatePlaybackState_state_invalid
+//==== LABEL Check updatePlaybackState throws type exception with invalid state value
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updatePlaybackState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer;
+
+ mcServer= tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updatePlaybackState("ABC");
+ }, "Calling updatePlaybackState with invalid arguments should throw an exception.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateRepeatState</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateRepeatState
+//==== LABEL Check if MediaControllerServer updateRepeatState method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, retVal = null;
+
+ mcServer= tizen.mediacontroller.createServer();
+ mcServer.updateRepeatState("REPEAT_OFF");
+ retVal = mcServer.updateRepeatState("REPEAT_ONE");
+ assert_equals(retVal, undefined, "updateRepeatState should return undefined");
+ assert_equals(mcServer.playbackInfo.repeatState, "REPEAT_ONE", "repeatState should be updated");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateRepeatState_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateRepeatState_exist
+//==== LABEL Check if updateRepeatState exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updateRepeatState");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateRepeatState_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateRepeatState_misarg
+//==== LABEL Check if updateRepeatState method of MediaControllerServer called with missing non-optional argument should throw an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+ mcServer= tizen.mediacontroller.createServer();
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ mcServer.updateRepeatState();
+ }, "Invoked without non-optional arguments.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateRepeatState_state_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateRepeatState_state_TypeMismatch
+//==== LABEL Check argument state conversions exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateRepeatState M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var mcServer, state, exceptionName, i, conversionTable;
+
+ conversionTable = getTypeConversionExceptions("enum", false);
+ mcServer= tizen.mediacontroller.createServer();
+
+ for (i = 0; i < conversionTable.length; i++) {
+ state = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+ assert_throws({name: exceptionName},
+ function () {
+ mcServer.updateRepeatState(state);
+ }, exceptionName + " should be thrown - given incorrect state.");
+ }
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateShuffleMode</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateShuffleMode
+//==== LABEL Check if MediaControllerServer updateShuffleMode method works properly
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MAST
+
+test(function () {
+ var mcServer, retVal = null, beforemode;
+
+ mcServer= tizen.mediacontroller.createServer();
+ beforemode = mcServer.playbackInfo.shuffleMode;
+ retVal = mcServer.updateShuffleMode(!beforemode);
+ assert_equals(retVal, undefined, "updateShuffleMode should return undefined");
+ assert_equals(mcServer.playbackInfo.shuffleMode, !beforemode, "shuffleMode should be updated");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateShuffleMode_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateShuffleMode_exist
+//==== LABEL Check if updateShuffleMode exists
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var mcServer = tizen.mediacontroller.createServer();
+ check_method_exists(mcServer, "updateShuffleMode");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>MediaControllerServer_updateShuffleMode_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MediaControllerServer_updateShuffleMode_misarg
+//==== LABEL Check if updateShuffleMode method of MediaControllerServer called with missing non-optional argument does NOT throw an exception
+//==== SPEC Tizen Web API:Multimedia:MediaController:MediaControllerServer:updateShuffleMode M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var mcServer;
+
+ mcServer= tizen.mediacontroller.createServer();
+ try {
+ mcServer.updateShuffleMode();
+ } catch(e) {
+ assert_unreached("Calling updateShuffleMode without arguments should not throw an exception.");
+ }
+ assert_equals(mcServer.playbackInfo.shuffleMode, false, "Expected false, but got " + mcServer.playbackInfo.shuffleMode);
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
</spec>
</specs>
</testcase>
+ <testcase purpose="Check if MediaControllerServer updateIconURI method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updateIconURI">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateIconURI.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateIconURI" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if updateIconURI exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updateIconURI_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateIconURI_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateIconURI" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if addChangeRequestPlaybackInfoListener() works properly" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_addChangeRequestPlaybackInfoListener">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addChangeRequestPlaybackInfoListener" 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 addChangeRequestPlaybackInfoListener of MediaControllerServer exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addChangeRequestPlaybackInfoListener" 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 addChangeRequestPlaybackInfoListener throws exception when listener is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addChangeRequestPlaybackInfoListener" 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 addChangeRequestPlaybackInfoListener throws exception when callback is inavlid listener" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addChangeRequestPlaybackInfoListener" 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 addChangeRequestPlaybackInfoListener method of MediaControllerServer 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="MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="addChangeRequestPlaybackInfoListener" 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 removeChangeRequestPlaybackInfoListener() works properly" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeChangeRequestPlaybackInfoListener" 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 removeChangeRequestPlaybackInfoListener of MediaControllerServer exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeChangeRequestPlaybackInfoListener" 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 removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with missing non-optional argument does NOT throw any exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeChangeRequestPlaybackInfoListener" 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 removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with invalid value does not throw any exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="removeChangeRequestPlaybackInfoListener" 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 MediaControllerServerInfo sendPlaybackPosition method without optional argument works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendPlaybackPosition">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 sendPlaybackPosition throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 sendPlaybackPosition throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 sendPlaybackPosition exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_sendPlaybackPosition_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 sendPlaybackPosition method called with missing non-optional argument does NOT throw an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackPosition_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 sendPlaybackPosition throws exception when successCallback is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 sendPlaybackPosition throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 MediaControllerServerInfo sendPlaybackPosition method with all optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackPosition" 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 MediaControllerServerInfo sendPlaybackState method without optional argument works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendPlaybackState">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendPlaybackState throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendPlaybackState throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendPlaybackState exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_sendPlaybackState_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendPlaybackState 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="MediaControllerServerInfo_sendPlaybackState_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendPlaybackState throws exception when state is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendPlaybackState throws exception when successCallback is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendPlaybackState throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 MediaControllerServerInfo sendPlaybackState method with all optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendPlaybackState_with_errorCallback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendPlaybackState" 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 sendRepeatState() works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendRepeatState">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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 errorCallback conversions exception" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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 sendRepeatState throws exception when errorCallback is invalid" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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 sendRepeatState of MediaControllerServerInfo exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_sendRepeatState_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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 state conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendRepeatState_state_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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="MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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 sendRepeatState 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="MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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 sendRepeatState method works properly with errorCallback argument" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendRepeatState_with_errorCallback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendRepeatState" 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 MediaControllerServerInfo sendShuffleMode method without optional argument works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendShuffleMode">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" 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 sendShuffleMode throws exception when errorCallback is incorrect" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" 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 sendShuffleMode throws exception when errorCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" 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 sendShuffleMode exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_sendShuffleMode_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" 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 sendShuffleMode throws exception when successCallback is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" 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 sendShuffleMode throws exception when successCallback is invalid" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" 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 MediaControllerServerInfo sendShuffleMode method with all optional arguments works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_sendShuffleMode_with_errorCallback">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="sendShuffleMode" 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 MediaControllerServerInfo addPlaybackInfoChangeListener method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_addPlaybackInfoChangeListener">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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 addPlaybackInfoChangeListener exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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 addPlaybackInfoChangeListener throws exception when listener is incorrect" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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 addPlaybackInfoChangeListener throws exception when listener is invalid" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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 addPlaybackInfoChangeListener 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="MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="addPlaybackInfoChangeListener" 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 MediaControllerServerInfo removePlaybackInfoChangeListener method works properly" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_removePlaybackInfoChangeListener">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="removePlaybackInfoChangeListener" 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 removePlaybackInfoChangeListener exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="removePlaybackInfoChangeListener" 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 removePlaybackInfoChangeListener method called with missing non-optional argument does not throw any exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="removePlaybackInfoChangeListener" 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 removePlaybackInfoChangeListener method of MediaControllerServerInfo called with invalid value throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="method" element_name="removePlaybackInfoChangeListener" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_createPlaylist_exist" priority="P0" purpose="Check if createPlaylist exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_createPlaylist_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="createPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_createPlaylist" priority="P1" purpose="Check if MediaControllerServer createPlaylist method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_createPlaylist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="createPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_createPlaylist_invalid" priority="P2" purpose="Check if createPlaylist thrown invalid exception when playlist name already exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_createPlaylist_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="createPlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer savePlaylist method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_exist" priority="P0" purpose="Check if savePlaylist exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_misarg" priority="P2" purpose="Check if savePlaylist method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_playlist_TypeMismatch" priority="P2" purpose="Check if savePlaylist throws exception when state is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_playlist_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_successCallback_TypeMismatch" priority="P2" purpose="Check if savePlaylist throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer savePlaylist method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_invoke" onload_delay="30" priority="P2" purpose="Check if errorCallback invoked when playlist with given name does not exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_errorCallback_invoke.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="savePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer deletePlaylist method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_exist" priority="P0" purpose="Check if deletePlaylist exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_successCallback_TypeMismatch" priority="P2" purpose="Check if deletePlaylist throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer deletePlaylist method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_invoke" onload_delay="30" priority="P2" purpose="Check if errorCallback invoked when playlist with given name does not exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_errorCallback_invoke.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="deletePlaylist" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer getAllPlaylists method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_exist" priority="P0" purpose="Check if getAllPlaylists exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_misarg" priority="P2" purpose="Check if getAllPlaylists method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_getAllPlaylists_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer getAllPlaylists method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo getAllPlaylists method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists_exist" priority="P0" purpose="Check if getAllPlaylists exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists_misarg" priority="P2" purpose="Check if getAllPlaylists method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_getAllPlaylists_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo getAllPlaylists method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_with_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="getAllPlaylists" 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="MediaControllerServerInfo_sendPlaybackItem" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackItem method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="sendPlaybackItem" 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="MediaControllerServerInfo_sendPlaybackItem_exist" priority="P0" purpose="Check if sendPlaybackItem exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="sendPlaybackItem" 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="MediaControllerServerInfo_sendPlaybackItem_misarg" priority="P2" purpose="Check if sendPlaybackItem method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="sendPlaybackItem" 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="MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch" priority="P2" purpose="Check if sendPlaybackItem throws exception when state is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="sendPlaybackItem" 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="MediaControllerServerInfo_addPlaylistUpdatedListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo addPlaylistUpdatedListener method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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="MediaControllerServerInfo_addPlaylistUpdatedListener_exist" priority="P0" purpose="check if addPlaylistUpdatedListener exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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="MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch" priority="P2" purpose="Check if addPlaylistUpdatedListener throws exception when listener is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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="MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid" priority="P2" purpose="Check if addPlaylistUpdatedListener throws exception when listener is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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="MediaControllerServerInfo_addPlaylistUpdatedListener_misarg" priority="P2" purpose="Check if addPlaylistUpdatedListener method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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="MediaControllerServerInfo_removePlaylistUpdatedListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo removePlaylistUpdatedListener method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaylistUpdatedListener.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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="MediaControllerServerInfo_removePlaylistUpdatedListener_exist" priority="P0" purpose="check if removePlaylistUpdatedListener exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaylistUpdatedListener_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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="MediaControllerServerInfo_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-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaylistUpdatedListener_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <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 purpose="Check if attribute playbackInfo of MediaControllerServer exists, has type MediaControllerPlaybackInfo and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_playbackInfo_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_playbackInfo_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="attribute" element_name="playbackInfo" 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 playbackInfo of MediaControllerServerInfo exists, has type MediaControllerPlaybackInfo and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServerInfo_playbackInfo_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_playbackInfo_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServerInfo" element_type="attribute" element_name="playbackInfo" 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 updateMetadata() works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updateMetadata">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateMetadata" 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 updateMetadata of MediaControllerServer exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updateMetadata_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateMetadata" 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 updateMetadata() method throw exception when a fake system object was passed" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updateMetadata_invalid_obj">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_invalid_obj.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateMetadata" 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 metadata conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updateMetadata_metadata_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_metadata_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateMetadata" 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 updateMetadata method of MediaControllerServer 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="MediaControllerServer_updateMetadata_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateMetadata" 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 MediaControllerServer updatePlaybackPosition method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updatePlaybackPosition">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackPosition" 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 updatePlaybackPosition exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updatePlaybackPosition_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackPosition" 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 updatePlaybackPosition method of MediaControllerServer called with missing non-optional argument does not throw any exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackPosition_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackPosition" 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 updatePlaybackPosition method of MediaControllerServer called with negative value should NOT throw an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackPosition_position_invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition_position_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackPosition" 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 MediaControllerServer updatePlaybackState method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updatePlaybackState">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackState" 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 updatePlaybackState exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updatePlaybackState_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackState" 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 updatePlaybackState 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="MediaControllerServer_updatePlaybackState_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackState" 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 state conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackState_state_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackState" 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 updatePlaybackState throws type exception with invalid state value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackState_state_invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_state_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackState" 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 MediaControllerServer updateRepeatState method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updateRepeatState">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateRepeatState" 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 updateRepeatState exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updateRepeatState_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateRepeatState" 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 updateRepeatState method of MediaControllerServer called with missing non-optional argument does NOT throw an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updateRepeatState_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateRepeatState" 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 state conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updateRepeatState_state_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateRepeatState" 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 MediaControllerServer updateShuffleMode method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updateShuffleMode">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateShuffleMode.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateShuffleMode" 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 updateShuffleMode exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updateShuffleMode_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateShuffleMode_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateShuffleMode" 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 updateShuffleMode method of MediaControllerServer called with missing non-optional argument does NOT throw an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updateShuffleMode_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateShuffleMode_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updateShuffleMode" 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 ageRating of MediaControllerPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_ageRating_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_ageRating_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="ageRating" 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 MediaControllerServer updatePlaybackAgeRating method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updatePlaybackAgeRating">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackAgeRating" 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 updatePlaybackAgeRating exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updatePlaybackAgeRating_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackAgeRating" 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 updatePlaybackAgeRating method of MediaControllerServer called with missing non-optional argument does NOT throw an exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackAgeRating_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackAgeRating" 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 rating conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackAgeRating" 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 MediaControllerServer updatePlaybackContentType method works properly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerServer_updatePlaybackContentType">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackContentType" 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 updatePlaybackState exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P0" id="MediaControllerServer_updatePlaybackContentType_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackContentType" 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 updatePlaybackState 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="MediaControllerServer_updatePlaybackContentType_misarg">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackContentType" 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 state conversions exception" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackContentType" 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 updatePlaybackState throws type exception with invalid state value" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P2" id="MediaControllerServer_updatePlaybackContentType_contentType_invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_contentType_invalid.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerServer" element_type="method" element_name="updatePlaybackContentType" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_updatePlaybackItem_exist" priority="P0" purpose="Check if updatePlaybackItem exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackItem_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="updatePlaybackItem" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" type="compliance" status="approved" execution_type="auto" id="MediaControllerServer_updatePlaybackItem" priority="P1" purpose="Check if MediaControllerServer updatePlaybackItem method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackItem.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="updatePlaybackItem" usage="true" specification="MediaController" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/mediacontroller.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if MediaControllerPlaybackInfo object is extendable" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerPlaybackInfo_extend">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_extend.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" 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 interface MediaControllerPlaybackInfo exists, it should not." type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P3" id="MediaControllerPlaybackInfo_notexist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_notexist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" 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 ageRating of MediaControllerPlaybackInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_ageRating_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_ageRating_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="ageRating" 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 metadata of MediaControllerPlaybackInfo exists, has type object and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_metadata_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_metadata_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="metadata" 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 position of MediaControllerPlaybackInfo exists, has type long and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_position_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_position_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="position" 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 repeatState of MediaControllerPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_repeatState_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_repeatState_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="repeatMode" 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 shuffleMode of MediaControllerPlaybackInfo exists, has type boolean and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_shuffleMode_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_shuffleMode_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="shuffleMode" 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 state of MediaControllerPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_state_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_state_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="attribute" element_name="state" 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="MediaControllerPlaybackInfo_index_attribute" priority="P1" purpose="Check if attribute index of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_index_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" 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="MediaControllerPlaybackInfo_playlistName_attribute" priority="P1" purpose="Check if attribute playlistName of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_playlistName_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" 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 contentType of MediaControllerPlaybackInfo exists, has type string and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerPlaybackInfo_contentType_attribute">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_contentType_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerPlaybackInfo" element_type="contentType" element_name="repeatMode" 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 MediaControllerPlaybackInfoChangeCallback onplaybackstaterequest is called and if its arguments have proper type" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" priority="P1" id="MediaControllerChangeRequestPlaybackInfoCallback_onplaybackstaterequest">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_onplaybackstaterequest.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MediaControllerChangeRequestPlaybackInfoCallback" element_type="method" element_name="onplaybackstaterequest" 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>
<set name="Content">
<testcase purpose="Check if ContentDirectory have storageType attribute with proper type, readonly, not null" type="compliance" onload_delay="30" status="approved" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectory_storageType_attribute">
</testcase>
</set>
<set name="MediaController_wearable" type="js">
- <capabilities>
- <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
- </capabilities>
<testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateRepeatMode" priority="P1" purpose="Check if MediaControllerServer updateRepeatMode method works properly">
<description>
<test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatMode.html</test_script_entry>
<test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfoChangeCallback_onrepeatmodechanged.html</test_script_entry>
</description>
</testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateIconURI" priority="P1" purpose="Check if MediaControllerServer updateIconURI method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateIconURI.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateIconURI_exist" priority="P0" purpose="Check if updateIconURI exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateIconURI_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addChangeRequestPlaybackInfoListener" onload_delay="90" priority="P1" purpose="Check if addChangeRequestPlaybackInfoListener() works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_exist" priority="P0" purpose="Check if method addChangeRequestPlaybackInfoListener of MediaControllerServer exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch" priority="P2" purpose="Check if addChangeRequestPlaybackInfoListener throws exception when listener is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid" priority="P2" purpose="Check if addChangeRequestPlaybackInfoListener throws exception when callback is inavlid listener">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_listener_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg" priority="P2" purpose="Check if addChangeRequestPlaybackInfoListener method of MediaControllerServer called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_addChangeRequestPlaybackInfoListener_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener" onload_delay="90" priority="P1" purpose="Check if removeChangeRequestPlaybackInfoListener() works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist" priority="P0" purpose="Check if method removeChangeRequestPlaybackInfoListener of MediaControllerServer exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg" priority="P2" purpose="Check if removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with missing non-optional argument does NOT throw any exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid" priority="P2" purpose="Check if removeChangeRequestPlaybackInfoListener method of MediaControllerServer called with invalid value does not throw any exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_removeChangeRequestPlaybackInfoListener_watchId_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackPosition method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if sendPlaybackPosition throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendPlaybackPosition throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_exist" priority="P0" purpose="Check if sendPlaybackPosition exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_misarg" priority="P2" purpose="Check if sendPlaybackPosition method called with missing non-optional argument does NOT throw an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch" priority="P2" purpose="Check if sendPlaybackPosition throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendPlaybackPosition throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackPosition method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackPosition_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackState method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if sendPlaybackState throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendPlaybackState throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_exist" priority="P0" purpose="Check if sendPlaybackState exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_misarg" priority="P2" purpose="Check if sendPlaybackState method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch" priority="P2" purpose="Check if sendPlaybackState throws exception when state is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch" priority="P2" purpose="Check if sendPlaybackState throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendPlaybackState throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackState_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackState method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackState_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState" priority="P1" purpose="Check if sendRepeatState() works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch" onload_delay="90" priority="P2" purpose="Check argument errorCallback conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if sendRepeatState throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_exist" priority="P0" purpose="Check if method sendRepeatState of MediaControllerServerInfo exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_state_TypeMismatch" priority="P2" purpose="Check argument state conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch" priority="P2" purpose="Check argument successCallback conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb" onload_delay="90" priority="P2" purpose="Check if sendRepeatState throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendRepeatState_with_errorCallback" onload_delay="90" priority="P1" purpose="Check if sendRepeatState method works properly with errorCallback argument">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendRepeatState_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendShuffleMode method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if sendShuffleMode throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendShuffleMode throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_exist" priority="P0" purpose="Check if sendShuffleMode exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch" priority="P2" purpose="Check if sendShuffleMode throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if sendShuffleMode throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendShuffleMode_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendShuffleMode method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendShuffleMode_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaybackInfoChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo addPlaybackInfoChangeListener method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_exist" priority="P0" purpose="check if addPlaybackInfoChangeListener exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch" priority="P2" purpose="Check if addPlaybackInfoChangeListener throws exception when listener is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid" priority="P2" purpose="Check if addPlaybackInfoChangeListener throws exception when listener is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_listener_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg" priority="P2" purpose="Check if addPlaybackInfoChangeListener method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaybackInfoChangeListener_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaybackInfoChangeListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo removePlaybackInfoChangeListener method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_exist" priority="P0" purpose="check if removePlaybackInfoChangeListener exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg" priority="P2" purpose="Check if removePlaybackInfoChangeListener method called with missing non-optional argument does not throw any exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid" priority="P2" purpose="Check if removePlaybackInfoChangeListener method of MediaControllerServerInfo called with invalid value throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaybackInfoChangeListener_watchId_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_createPlaylist_exist" priority="P0" purpose="Check if createPlaylist exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_createPlaylist_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_createPlaylist" priority="P1" purpose="Check if MediaControllerServer createPlaylist method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_createPlaylist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_createPlaylist_invalid" priority="P2" purpose="Check if createPlaylist thrown invalid exception when playlist name already exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_createPlaylist_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer savePlaylist method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_exist" priority="P0" purpose="Check if savePlaylist exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_misarg" priority="P2" purpose="Check if savePlaylist method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_playlist_TypeMismatch" priority="P2" purpose="Check if savePlaylist throws exception when state is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_playlist_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_successCallback_TypeMismatch" priority="P2" purpose="Check if savePlaylist throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if savePlaylist throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer savePlaylist method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_savePlaylist_errorCallback_invoke" onload_delay="30" priority="P2" purpose="Check if errorCallback invoked when playlist with given name does not exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_savePlaylist_errorCallback_invoke.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer deletePlaylist method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_exist" priority="P0" purpose="Check if deletePlaylist exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_successCallback_TypeMismatch" priority="P2" purpose="Check if deletePlaylist throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if deletePlaylist throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer deletePlaylist method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_deletePlaylist_errorCallback_invoke" onload_delay="30" priority="P2" purpose="Check if errorCallback invoked when playlist with given name does not exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_deletePlaylist_errorCallback_invoke.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer getAllPlaylists method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_exist" priority="P0" purpose="Check if getAllPlaylists exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_misarg" priority="P2" purpose="Check if getAllPlaylists method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_getAllPlaylists_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServer getAllPlaylists method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_getAllPlaylists_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo getAllPlaylists method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when errorCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_exist" priority="P0" purpose="Check if getAllPlaylists exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_misarg" priority="P2" purpose="Check if getAllPlaylists method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if getAllPlaylists throws exception when successCallback is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_getAllPlaylists_with_errorCallback" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo getAllPlaylists method with all optional arguments works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_getAllPlaylists_with_errorCallback.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackItem" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo sendPlaybackItem method without optional argument works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackItem_exist" priority="P0" purpose="Check if sendPlaybackItem exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackItem_misarg" priority="P2" purpose="Check if sendPlaybackItem method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch" priority="P2" purpose="Check if sendPlaybackItem throws exception when state is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_sendPlaybackItem_state_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaylistUpdatedListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo addPlaylistUpdatedListener method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaylistUpdatedListener_exist" priority="P0" purpose="check if addPlaylistUpdatedListener exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch" priority="P2" purpose="Check if addPlaylistUpdatedListener throws exception when listener is incorrect">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_listener_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid" priority="P2" purpose="Check if addPlaylistUpdatedListener throws exception when listener is invalid">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_listener_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_addPlaylistUpdatedListener_misarg" priority="P2" purpose="Check if addPlaylistUpdatedListener method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_addPlaylistUpdatedListener_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaylistUpdatedListener" onload_delay="30" priority="P1" purpose="Check if MediaControllerServerInfo removePlaylistUpdatedListener method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaylistUpdatedListener.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_removePlaylistUpdatedListener_exist" priority="P0" purpose="check if removePlaylistUpdatedListener exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaylistUpdatedListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_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-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_removePlaylistUpdatedListener_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_playbackInfo_attribute" priority="P1" purpose="Check if attribute playbackInfo of MediaControllerServer exists, has type MediaControllerPlaybackInfo and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_playbackInfo_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServerInfo_playbackInfo_attribute" priority="P1" purpose="Check if attribute playbackInfo of MediaControllerServerInfo exists, has type MediaControllerPlaybackInfo and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServerInfo_playbackInfo_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateMetadata" priority="P1" purpose="Check if updateMetadata() works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateMetadata_exist" priority="P0" purpose="Check if method updateMetadata of MediaControllerServer exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateMetadata_invalid_obj" priority="P2" purpose="Check if updateMetadata() method throw exception when a fake system object was passed">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_invalid_obj.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateMetadata_metadata_TypeMismatch" priority="P2" purpose="Check argument metadata conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_metadata_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateMetadata_misarg" priority="P2" purpose="Check if updateMetadata method of MediaControllerServer called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateMetadata_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackPosition" priority="P1" purpose="Check if MediaControllerServer updatePlaybackPosition method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackPosition_exist" priority="P0" purpose="Check if updatePlaybackPosition exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackPosition_misarg" priority="P2" purpose="Check if updatePlaybackPosition method of MediaControllerServer called with missing non-optional argument does not throw any exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackPosition_position_invalid" priority="P2" purpose="Check if updatePlaybackPosition method of MediaControllerServer called with negative value should NOT throw an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackPosition_position_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackState" priority="P1" purpose="Check if MediaControllerServer updatePlaybackState method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackState_exist" priority="P0" purpose="Check if updatePlaybackState exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackState_misarg" priority="P2" purpose="Check if updatePlaybackState method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackState_state_TypeMismatch" priority="P2" purpose="Check argument state conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackState_state_invalid" priority="P2" purpose="Check updatePlaybackState throws type exception with invalid state value">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackState_state_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateRepeatState" priority="P1" purpose="Check if MediaControllerServer updateRepeatState method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateRepeatState_exist" priority="P0" purpose="Check if updateRepeatState exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateRepeatState_misarg" priority="P2" purpose="Check if updateRepeatState method of MediaControllerServer called with missing non-optional argument does NOT throw an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateRepeatState_state_TypeMismatch" priority="P2" purpose="Check argument state conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateRepeatState_state_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateShuffleMode" priority="P1" purpose="Check if MediaControllerServer updateShuffleMode method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateShuffleMode.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateShuffleMode_exist" priority="P0" purpose="Check if updateShuffleMode exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateShuffleMode_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updateShuffleMode_misarg" priority="P2" purpose="Check if updateShuffleMode method of MediaControllerServer called with missing non-optional argument does NOT throw an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updateShuffleMode_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackAgeRating" priority="P1" purpose="Check if MediaControllerServer updatePlaybackAgeRating method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackAgeRating_exist" priority="P0" purpose="Check if updatePlaybackAgeRating exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackAgeRating_misarg" priority="P2" purpose="Check if updatePlaybackAgeRating method of MediaControllerServer called with missing non-optional argument should throw an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch" priority="P2" purpose="Check argument rating conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackAgeRating_rating_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackItem_exist" priority="P0" purpose="Check if updatePlaybackItem exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackItem_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackItem" priority="P1" purpose="Check if MediaControllerServer updatePlaybackItem method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackItem.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackContentType" priority="P1" purpose="Check if MediaControllerServer updatePlaybackContentType method works properly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackContentType_exist" priority="P0" purpose="Check if updatePlaybackContentType exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackContentType_misarg" priority="P2" purpose="Check if updatePlaybackContentType method called with missing non-optional argument throws an exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch" priority="P2" purpose="Check argument contentType conversions exception">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_contentType_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerServer_updatePlaybackContentType_contentType_invalid" priority="P2" purpose="Check updatePlaybackState throws type exception with invalid contentType value">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerServer_updatePlaybackContentType_contentType_invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_extend" priority="P3" purpose="Check if MediaControllerPlaybackInfo object is extendable">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_extend.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_metadata_attribute" priority="P1" purpose="Check if attribute metadata of MediaControllerPlaybackInfo exists, has type object and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_metadata_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_notexist" priority="P3" purpose="Check if interface MediaControllerPlaybackInfo exists, it should not.">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_notexist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_position_attribute" priority="P1" purpose="Check if attribute position of MediaControllerPlaybackInfo exists, has type long and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_position_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_repeatState_attribute" priority="P1" purpose="Check if attribute repeatState of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_repeatState_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_shuffleMode_attribute" priority="P1" purpose="Check if attribute shuffleMode of MediaControllerPlaybackInfo exists, has type boolean and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_shuffleMode_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_state_attribute" priority="P1" purpose="Check if attribute state of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_state_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_ageRating_attribute" priority="P1" purpose="Check if attribute ageRating of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_ageRating_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_index_attribute" priority="P1" purpose="Check if attribute index of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_index_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_playlistName_attribute" priority="P1" purpose="Check if attribute playlistName of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_playlistName_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerPlaybackInfo_contentType_attribute" priority="P1" purpose="Check if attribute contentType of MediaControllerPlaybackInfo exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/MediaControllerPlaybackInfo_contentType_attribute.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/MediaController" execution_type="auto" id="MediaControllerChangeRequestPlaybackInfoCallback_onplaybackstaterequest" onload_delay="30" priority="P1" purpose="Check if MediaControllerPlaybackInfoChangeCallback onplaybackstaterequest is called and if its arguments have proper type">
+ <description>
+ <test_script_entry>/opt/tct-mediacontroller-tizen-tests/mediacontroller/MediaControllerChangeRequestPlaybackInfoCallback_onplaybackstaterequest.html</test_script_entry>
+ </description>
+ </testcase>
</set>
<set name="Content">
<testcase purpose="Check if ContentDirectory have storageType attribute with proper type, readonly, not null" onload_delay="30" component="Tizen Device APIs/Content/Content" execution_type="auto" priority="P1" id="ContentDirectory_storageType_attribute">