//==== LABEL Check if attribute value ApplicationInformation::size is forbidden without proper privilege
//==== SPEC: Tizen Web API:Tizen Specification:Application:ApplicationInformation:size A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
+//==== ONLOAD_DELAY 90
setup({timeout: 90000});
var t = async_test(document.title, {timeout: 90000}),
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Tomasz Paciorek <t.paciorek@samsung.com>
-
--->
-<html>
-
-<head>
-<title>ContactManager_get_check_privilege</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-
-//==== TEST: ContactManager_get_check_privilege
-//==== LABEL Check if method ContactManager::get() is denied without privilege
-//==== SPEC: Tizen Web API:Tizen Specification:Contact:ContactManager:get M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/contact.html
-test(function () {
- assert_throws({
- name: "SecurityError"
- }, function () {
- tizen.contact.get("1");
- });
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Tomasz Paciorek <t.paciorek@samsung.com>
-
--->
-<html>
-
-<head>
-<title>ContactManager_getAddressBook_check_privilege</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-
-//==== TEST: ContactManager_getAddressBook_check_privilege
-//==== LABEL Check if method ContactManager::getAddressBook() is denied without privilege
-//==== SPEC: Tizen Web API:Tizen Specification:Contact:ContactManager:getAddressBook M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/contact.html
-test(function () {
- assert_throws({
- name: "SecurityError"
- }, function () {
- tizen.contact.getAddressBook("1");
- });
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Tomasz Paciorek <t.paciorek@samsung.com>
-
--->
-<html>
-
-<head>
-<title>ContactManager_remove_check_privilege</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-
-//==== TEST: ContactManager_remove_check_privilege
-//==== LABEL Check if method ContactManager::remove() is denied without privilege
-//==== SPEC: Tizen Web API:Tizen Specification:Contact:ContactManager:remove M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/contact.html
-test(function () {
- assert_throws({
- name: "SecurityError"
- }, function () {
- tizen.contact.remove("1");
- });
-}, document.title);
-
-</script>
-</body>
-</html>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method ContactManager::get() is denied without privilege" type="compliance" status="approved" component="TizenAPI/Social/Contact" execution_type="auto" priority="P1" id="ContactManager_get_check_privilege">
- <description>
- <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/ContactManager_get.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContactManager" element_type="method" element_name="get" specification="Contact" section="Social" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/contact.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method ContactManager::getAddressBook() is denied without privilege" type="compliance" status="approved" component="TizenAPI/Social/Contact" execution_type="auto" priority="P1" id="ContactManager_getAddressBook_check_privilege">
- <description>
- <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/ContactManager_getAddressBook.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContactManager" element_type="method" element_name="getAddressBook" specification="Contact" section="Social" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/contact.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check if method ContactManager::getAddressBooks() is denied without privilege" type="compliance" status="approved" component="TizenAPI/Social/Contact" execution_type="auto" priority="P1" id="ContactManager_getAddressBooks_check_privilege">
<description>
<test_script_entry>/opt/tct-privilege-tizen-tests/privilege/ContactManager_getAddressBooks.html</test_script_entry>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method ContactManager::remove() is denied without privilege" type="compliance" status="approved" component="TizenAPI/Social/Contact" execution_type="auto" priority="P1" id="ContactManager_remove_check_privilege">
- <description>
- <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/ContactManager_remove.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ContactManager" element_type="method" element_name="remove" specification="Contact" section="Social" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/contact.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check if method ContactManager::removeBatch() is denied without privilege" type="compliance" status="approved" component="TizenAPI/Social/Contact" execution_type="auto" priority="P1" id="ContactManager_removeBatch_check_privilege">
<description>
<test_script_entry>/opt/tct-privilege-tizen-tests/privilege/ContactManager_removeBatch.html</test_script_entry>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute value ApplicationInformation::size is forbidden without proper privilege" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationInformation_size_attribute_check_privilege">
+ <testcase purpose="Check if attribute value ApplicationInformation::size is forbidden without proper privilege" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationInformation_size_attribute_check_privilege">
<description>
<test_script_entry>/opt/tct-privilege-tizen-tests/privilege/ApplicationInformation_size_attribute.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-privilege-tizen-tests/privilege/ContactManager_find.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method ContactManager::get() is denied without privilege" component="TizenAPI/Social/Contact" execution_type="auto" id="ContactManager_get_check_privilege">
- <description>
- <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/ContactManager_get.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if method ContactManager::getAddressBook() is denied without privilege" component="TizenAPI/Social/Contact" execution_type="auto" id="ContactManager_getAddressBook_check_privilege">
- <description>
- <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/ContactManager_getAddressBook.html</test_script_entry>
- </description>
- </testcase>
<testcase purpose="Check if method ContactManager::getAddressBooks() is denied without privilege" component="TizenAPI/Social/Contact" execution_type="auto" id="ContactManager_getAddressBooks_check_privilege">
<description>
<test_script_entry>/opt/tct-privilege-tizen-tests/privilege/ContactManager_getAddressBooks.html</test_script_entry>
<test_script_entry>/opt/tct-privilege-tizen-tests/privilege/ContactManager_getDefaultAddressBook.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method ContactManager::remove() is denied without privilege" component="TizenAPI/Social/Contact" execution_type="auto" id="ContactManager_remove_check_privilege">
- <description>
- <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/ContactManager_remove.html</test_script_entry>
- </description>
- </testcase>
<testcase purpose="Check if method ContactManager::removeBatch() is denied without privilege" component="TizenAPI/Social/Contact" execution_type="auto" id="ContactManager_removeBatch_check_privilege">
<description>
<test_script_entry>/opt/tct-privilege-tizen-tests/privilege/ContactManager_removeBatch.html</test_script_entry>
<test_script_entry>/opt/tct-privilege-tizen-tests/privilege/WebSettingManager_removeAllCookies.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute value ApplicationInformation::size is forbidden without proper privilege" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationInformation_size_attribute_check_privilege">
+ <testcase purpose="Check if attribute value ApplicationInformation::size is forbidden without proper privilege" onload_delay="90" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationInformation_size_attribute_check_privilege">
<description>
<test_script_entry>/opt/tct-privilege-tizen-tests/privilege/ApplicationInformation_size_attribute.html</test_script_entry>
</description>