[common][tct-workers-w3c-tests][sync tcs from tizen_4.0] 62/118362/1
authorxy.qian <xy.qian@samsung.com>
Fri, 10 Mar 2017 05:54:08 +0000 (13:54 +0800)
committerxy.qian <xy.qian@samsung.com>
Fri, 10 Mar 2017 05:54:08 +0000 (13:54 +0800)
Change-Id: I6ba4848ffaaa09f1d398f988522ca3c471257b13
Signed-off-by: xy.qian <xy.qian@samsung.com>
common/tct-workers-w3c-tests/tests.full.xml
common/tct-workers-w3c-tests/tests.xml
common/tct-workers-w3c-tests/workers/WorkerConsole_exist.html [deleted file]
common/tct-workers-w3c-tests/workers/WorkerGlobalScope_console_attribute.html [deleted file]
common/tct-workers-w3c-tests/workers/support/WorkerConsole.js [deleted file]

index f84d5614791d0a0de6a06ffdd38dba7f78487650..d1b613bba795e697c7c1e590e7c2dbb81f45ea39 100755 (executable)
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check console attribute of WorkerGlobalScope." type="compliance" status="approved" component="W3C_HTML5 APIs/Performance and Optimization/Web Workers (Partial)" execution_type="auto" priority="P1" id="WorkerGlobalScope_console_attribute">
-        <description>
-          <test_script_entry timeout="90" test_script_expected_result="0">/opt/tct-workers-w3c-tests/workers/WorkerGlobalScope_console_attribute.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion element_type="attribute" element_name="console" interface="WorkerGlobalScope" specification="Web Workers (Partial)" section="Performance and Optimization" category="Tizen W3C API Specifications"/>
-            <spec_url>http://www.w3.org/TR/workers/</spec_url>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="check location attribute of WorkerGlobalScope." type="compliance" status="approved" component="W3C_HTML5 APIs/Performance and Optimization/Web Workers (Partial)" execution_type="auto" priority="P1" id="WorkerGlobalScope_location">
         <description>
           <test_script_entry timeout="90" test_script_expected_result="0">/opt/tct-workers-w3c-tests/workers/WorkerGlobalScope_location.html</test_script_entry>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if WorkerConsole exist." type="compliance" status="approved" component="W3C_HTML5 APIs/Performance and Optimization/Web Workers (Partial)" execution_type="auto" priority="P1" id="WorkerConsole_exist">
-        <description>
-          <test_script_entry timeout="90" test_script_expected_result="0">/opt/tct-workers-w3c-tests/workers/WorkerConsole_exist.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion usage="true" interface="WorkerConsole" specification="Web Workers (Partial)" section="Performance and Optimization" category="Tizen W3C API Specifications"/>
-            <spec_url>http://www.w3.org/TR/workers/</spec_url>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="check onerror attribute of AbstractWorker." type="compliance" status="approved" component="W3C_HTML5 APIs/Performance and Optimization/Web Workers (Partial)" execution_type="auto" priority="P1" id="AbstractWorker_onerror">
         <description>
           <test_script_entry timeout="90" test_script_expected_result="0">/opt/tct-workers-w3c-tests/workers/AbstractWorker_onerror.html</test_script_entry>
index 385566531669773df063ce22ec5fd84175091c75..c0c908be14f77403234ed3a38ef7c149a981a9dd 100755 (executable)
           <test_script_entry timeout="90" test_script_expected_result="0">/opt/tct-workers-w3c-tests/workers/w3c/WorkerLocation_search_fragment.htm</test_script_entry>
         </description>
       </testcase>
-      <testcase component="W3C_HTML5 APIs/Performance and Optimization/Web Workers (Partial)" execution_type="auto" id="WorkerGlobalScope_console_attribute"  purpose="check console attribute of WorkerGlobalScope.">
-        <description>
-          <test_script_entry test_script_expected_result="0"  timeout="90">/opt/tct-workers-w3c-tests/workers/WorkerGlobalScope_console_attribute.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase component="W3C_HTML5 APIs/Performance and Optimization/Web Workers (Partial)" execution_type="auto" id="WorkerGlobalScope_location" purpose="check location attribute of WorkerGlobalScope.">
         <description>
           <test_script_entry test_script_expected_result="0" timeout="90">/opt/tct-workers-w3c-tests/workers/WorkerGlobalScope_location.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="W3C_HTML5 APIs/Performance and Optimization/Web Workers (Partial)" execution_type="auto" id="WorkerConsole_exist" purpose="check if WorkerConsole exist.">
-        <description>
-          <test_script_entry test_script_expected_result="0" timeout="90">/opt/tct-workers-w3c-tests/workers/WorkerConsole_exist.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase component="W3C_HTML5 APIs/Performance and Optimization/Web Workers (Partial)" execution_type="auto" id="AbstractWorker_onerror" purpose="check onerror attribute of AbstractWorker.">
         <description>
           <test_script_entry test_script_expected_result="0" timeout="90">/opt/tct-workers-w3c-tests/workers/AbstractWorker_onerror.html</test_script_entry>
diff --git a/common/tct-workers-w3c-tests/workers/WorkerConsole_exist.html b/common/tct-workers-w3c-tests/workers/WorkerConsole_exist.html
deleted file mode 100755 (executable)
index 03954a1..0000000
+++ /dev/null
@@ -1,48 +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>WorkerConsole_exist</title>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id=log></div>
-<script>
-//==== TEST: WorkerConsole_exist
-//==== LABEL check if WorkerConsole exist
-//==== SPEC Tizen Web API:TBD:Web Workers:WorkerConsole:WorkerConsole U
-//==== SPEC_URL http://www.w3.org/TR/2015/WD-service-workers-20150625/
-//==== PRIORITY P1
-//==== TEST_CRITERIA NIO
-
-setup({timeout:500});
-var t = async_test("WorkerConsole check."), FileName = './support/WorkerConsole.js', ExpectedResult = '[object WorkerConsole]', worker;
-worker = new Worker(FileName);
-
-worker.onmessage = t.step_func(function(evt)
-{
-    assert_equals(evt.data, ExpectedResult);
-    t.done();
-});
-
-</script>
-</body>
-</html>
\ No newline at end of file
diff --git a/common/tct-workers-w3c-tests/workers/WorkerGlobalScope_console_attribute.html b/common/tct-workers-w3c-tests/workers/WorkerGlobalScope_console_attribute.html
deleted file mode 100755 (executable)
index e832f80..0000000
+++ /dev/null
@@ -1,48 +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>WorkerGlobalScope_console_attribute</title>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id=log></div>
-<script>
-//==== TEST: WorkerGlobalScope_console_attribute
-//==== LABEL check console attribute of WorkerGlobalScope
-//==== SPEC Tizen Web API:TBD:Web Workers:WorkerGlobalScope:console A
-//==== SPEC_URL http://www.w3.org/TR/2015/WD-service-workers-20150625/
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE
-
-setup({timeout:500});
-var t = async_test("WorkerConsole check."), FileName = './support/WorkerConsole.js', ExpectedResult = '[object WorkerConsole]', worker;
-worker = new Worker(FileName);
-
-worker.onmessage = t.step_func(function(evt)
-{
-    assert_equals(evt.data, ExpectedResult);
-    t.done();
-});
-
-</script>
-</body>
-</html>
\ No newline at end of file
diff --git a/common/tct-workers-w3c-tests/workers/support/WorkerConsole.js b/common/tct-workers-w3c-tests/workers/support/WorkerConsole.js
deleted file mode 100755 (executable)
index 4f0f776..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-postMessage(self.console.toString());
-