[Privilege] remove tests
authorAndrzej Krolikowski <a.krolikowsk@samsung.com>
Tue, 29 Oct 2013 08:35:41 +0000 (09:35 +0100)
committerAndrzej Krolikowski <a.krolikowsk@samsung.com>
Tue, 29 Oct 2013 08:35:41 +0000 (09:35 +0100)
Change-Id: If6d804c3be7934a3f04511f40c185777c79179df

tct-privilege-tizen-tests/privilege/ApplicationInformation_size_attribute.html
tct-privilege-tizen-tests/privilege/ContactManager_get.html [deleted file]
tct-privilege-tizen-tests/privilege/ContactManager_getAddressBook.html [deleted file]
tct-privilege-tizen-tests/privilege/ContactManager_remove.html [deleted file]
tct-privilege-tizen-tests/tests.full.xml
tct-privilege-tizen-tests/tests.xml

index 2d98bb10a4dd24d40304c470a29ecee0ec84172e..0298bb596ea490ef0fa894717e41765bbef8daa2 100644 (file)
@@ -35,6 +35,7 @@ Authors:
 //==== 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}),
diff --git a/tct-privilege-tizen-tests/privilege/ContactManager_get.html b/tct-privilege-tizen-tests/privilege/ContactManager_get.html
deleted file mode 100644 (file)
index c1524aa..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<!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>
diff --git a/tct-privilege-tizen-tests/privilege/ContactManager_getAddressBook.html b/tct-privilege-tizen-tests/privilege/ContactManager_getAddressBook.html
deleted file mode 100644 (file)
index 7320da0..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<!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>
diff --git a/tct-privilege-tizen-tests/privilege/ContactManager_remove.html b/tct-privilege-tizen-tests/privilege/ContactManager_remove.html
deleted file mode 100644 (file)
index c32d9ef..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<!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>
index 6c0e89e1d67f1d37a1bd9b477ed32985c6357393..cb49f440499ee2f0737273f6bec656cf2907af34 100644 (file)
           </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>
index 58c05bab09f50259ead2825bcfa586ae307728f2..c662645f45d99b571cacbf07672f02e08e688ad7 100644 (file)
           <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>