[common][tct-serviceworkers-w3c-tests][sync tcs from tizen_4.0] 59/118359/1
authorxy.qian <xy.qian@samsung.com>
Fri, 10 Mar 2017 05:47:48 +0000 (13:47 +0800)
committerxy.qian <xy.qian@samsung.com>
Fri, 10 Mar 2017 05:47:48 +0000 (13:47 +0800)
Change-Id: I4e33f773caab5c2d6600041e1c131fc341889fc8
Signed-off-by: xy.qian <xy.qian@samsung.com>
common/tct-serviceworkers-w3c-tests/resources/close-worker.js [deleted file]
common/tct-serviceworkers-w3c-tests/resources/serviceworkerglobalscope-close-exist.js [deleted file]
common/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerGlobalScope_close.html [deleted file]
common/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerGlobalScope_close_exist.html [deleted file]
common/tct-serviceworkers-w3c-tests/tests.full.xml
common/tct-serviceworkers-w3c-tests/tests.xml

diff --git a/common/tct-serviceworkers-w3c-tests/resources/close-worker.js b/common/tct-serviceworkers-w3c-tests/resources/close-worker.js
deleted file mode 100755 (executable)
index 4abd6b2..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-importScripts('../resources/interfaces.js');
-importScripts('../resources/worker-testharness.js');
-
-test(function() {
-  assert_throws({name: 'InvalidAccessError'}, function() {
-    self.close();
-  });
-}, 'ServiceWorkerGlobalScope close operation');
\ No newline at end of file
diff --git a/common/tct-serviceworkers-w3c-tests/resources/serviceworkerglobalscope-close-exist.js b/common/tct-serviceworkers-w3c-tests/resources/serviceworkerglobalscope-close-exist.js
deleted file mode 100755 (executable)
index 60d5bf3..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-importScripts('interfaces.js');
-importScripts('../resources/testharness.js');
-test(function() {
-    verify_interface('ServiceWorkerGlobalScope',
-                     self,
-                     {
-                       close: 'function'
-                     });
-  }, 'ServiceWorkerGlobalScope close exist');
\ No newline at end of file
diff --git a/common/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerGlobalScope_close.html b/common/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerGlobalScope_close.html
deleted file mode 100755 (executable)
index 5c49f63..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES 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>ServiceWorkerGlobalScope_close</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="../resources/test-helpers.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: ServiceWorkerGlobalScope_close
-//==== LABEL check close method throw exception
-//==== SPEC Tizen Web API:TBD:ServiceWorkers:ServiceWorkerGlobalScope:close M
-//==== SPEC_URL http://www.w3.org/TR/2015/WD-service-workers-20150625/
-//==== PRIORITY P1
-//==== TEST_CRITERIA MC
-
-service_worker_test('../resources/close-worker.js', document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
diff --git a/common/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerGlobalScope_close_exist.html b/common/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerGlobalScope_close_exist.html
deleted file mode 100755 (executable)
index abcbc4b..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES 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>ServiceWorkerGlobalScope_close_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="../resources/test-helpers.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: ServiceWorkerGlobalScope_close_exist
-//==== LABEL check if close method of ServiceWorkerGlobalScope exist
-//==== SPEC Tizen Web API:TBD:ServiceWorkers:ServiceWorkerGlobalScope:close M
-//==== SPEC_URL http://www.w3.org/TR/2015/WD-service-workers-20150625/
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-service_worker_test('../resources/serviceworkerglobalscope-close-exist.js', document.titile);
-
-</script>
-</body>
-</html>
\ No newline at end of file
index 7c8183b2dd1e1fa0a257dad03129780b5343e5f5..2f7977f0e61bd80980f8d07b48000374e381991b 100755 (executable)
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check close method throw exception" type="compliance" status="approved" component="W3C_HTML5 APIs/TBD/ServiceWorkers" execution_type="auto" priority="P1" id="ServiceWorkerGlobalScope_close">
-        <description>
-          <test_script_entry>/opt/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerGlobalScope_close.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="ServiceWorkerGlobalScope" element_type="method" element_name="close" specification="ServiceWorkers" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>http://www.w3.org/TR/2015/WD-service-workers-20150625/</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase purpose="check if close method of ServiceWorkerGlobalScope exist" type="compliance" status="approved" component="W3C_HTML5 APIs/TBD/ServiceWorkers" execution_type="auto" priority="P0" id="ServiceWorkerGlobalScope_close_exist">
-        <description>
-          <test_script_entry>/opt/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerGlobalScope_close_exist.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="ServiceWorkerGlobalScope" element_type="method" element_name="close" specification="ServiceWorkers" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>http://www.w3.org/TR/2015/WD-service-workers-20150625/</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="check if ServiceWorkerGlobalScope exist" type="compliance" status="approved" component="W3C_HTML5 APIs/TBD/ServiceWorkers" execution_type="auto" priority="P1" id="ServiceWorkerGlobalScope_exist">
         <description>
           <test_script_entry>/opt/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerGlobalScope_exist.html</test_script_entry>
index a339fe5b06513c36a16ae1462e0d42b09aab7e57..ec5c0da3758325243c87ec411928b8c0976ecd75 100755 (executable)
           <test_script_entry>/opt/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerGlobalScope_clients_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check close method throw exception" component="W3C_HTML5 APIs/TBD/ServiceWorkers" execution_type="auto" id="ServiceWorkerGlobalScope_close">
-        <description>
-          <test_script_entry>/opt/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerGlobalScope_close.html</test_script_entry>
-        </description>
-      </testcase>
-      <testcase purpose="check if close method of ServiceWorkerGlobalScope exist" component="W3C_HTML5 APIs/TBD/ServiceWorkers" execution_type="auto" id="ServiceWorkerGlobalScope_close_exist">
-        <description>
-          <test_script_entry>/opt/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerGlobalScope_close_exist.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase purpose="check if ServiceWorkerGlobalScope exist" component="W3C_HTML5 APIs/TBD/ServiceWorkers" execution_type="auto" id="ServiceWorkerGlobalScope_exist">
         <description>
           <test_script_entry>/opt/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerGlobalScope_exist.html</test_script_entry>