+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-Copyright (c) 2017 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES 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>AppCommunicationService_start_check_privilege</title>
-<meta charset="utf-8">
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: AppCommunicationService_start_check_privilege
-//==== LABEL Check if method AppCommunicationService::start() is forbidden without proper privilege
-//==== SPEC: Tizen Web API:Tizen Specification:Convergence:AppCommunicationService:start M
-//==== SPEC_URL TBD
-
-test(function () {
- var service, channelInfo;
- assert_throws({
- name: "SecurityError"
- }, function () {
- channelInfo = new tizen.ConvergenceChannelInfo("PrivNegT00", "ChA");
- service = new tizen.AppCommunicationServerService();
- service.start(channelInfo, function () {});
- });
-}, document.title);
-
-</script>
-</body>
-</html>
</specs>
</testcase>
</set>
- <set name="Privilege_convergence" type="js">
- <capabilities>
- <capability name="http://tizen.org/feature/convergence.d2d"/>
- </capabilities>
- <testcase purpose="Check if method AppCommunicationService::start() is forbidden without proper privilege" type="compliance" status="approved" component="Tizen Device APIs/Tizen Specification/Convergence" execution_type="auto" priority="P2" id="AppCommunicationService_start_check_privilege">
- <description>
- <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/AppCommunicationService_start.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AppCommunicationService" element_type="method" element_name="start" specification="Convergence" section="System" category="Tizen Device API Specifications"/>
- <spec_url>TBD</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- </set>
<set name="Privilege_mobile" type="js">
<capabilities>
<capability name="http://tizen.org/feature/profile"><value>MOBILE</value></capability>
</description>
</testcase> -->
</set>
- <set name="Privilege_convergence" type="js">
- <capabilities>
- <capability name="http://tizen.org/feature/convergence.d2d"/>
- </capabilities>
- <testcase purpose="Check if method AppCommunicationService::start() is forbidden without proper privilege" component="Tizen Device APIs/Tizen Specification/Convergence" execution_type="auto" id="AppCommunicationService_start_check_privilege">
- <description>
- <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/AppCommunicationService_start.html</test_script_entry>
- </description>
- </testcase>
- </set>
<set name="Privilege_mobile" type="js">
<capabilities>
<capability name="http://tizen.org/feature/profile"><value>MOBILE</value></capability>