modify Tc about Speech module 99/125899/2
authorxiaochn.wang <xiaochn.wang@samsung.com>
Wed, 19 Apr 2017 08:45:39 +0000 (16:45 +0800)
committerxiaochn.wang <xiaochn.wang@samsung.com>
Wed, 19 Apr 2017 09:23:04 +0000 (17:23 +0800)
Change-Id: Ie60b85481b7cf7ac92e8e90b9fc831f08af8f325
Signed-off-by: xiaochn.wang <xiaochn.wang@samsung.com>
common/tct-speech-w3c-tests/speech/SpeechRecognition_serviceURI_attribute.html [deleted file]
common/tct-speech-w3c-tests/speech/SpeechSynthesisUtterance_voice_attribute.html
common/tct-speech-w3c-tests/tests.full.xml
common/tct-speech-w3c-tests/tests.xml

diff --git a/common/tct-speech-w3c-tests/speech/SpeechRecognition_serviceURI_attribute.html b/common/tct-speech-w3c-tests/speech/SpeechRecognition_serviceURI_attribute.html
deleted file mode 100755 (executable)
index a346c01..0000000
+++ /dev/null
@@ -1,44 +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:
-        Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-<head>
-<title>SpeechRecognition_serviceURI_attribute</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: SpeechRecognition_serviceURI_attribute
-//==== LABEL Check SpeechRecognition::serviceURI attribute exists, has type string
-//==== PRIORITY P1
-//==== SPEC Tizen Web API:TBD:Speech:SpeechRecognition:serviceURI A
-//==== SPEC_URL https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html
-//==== TEST_CRITERIA AE AT ASG
-
-test(function () {
-    var recognition = new SpeechRecognition();
-    check_attribute(recognition, "serviceURI", recognition.serviceURI, "string", "hvsdvsadvshdvjhcv");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
index 9b2831b92e3448cc541b36dc9bdf7f7e60a67767..1a635a989e6fb08713488ca30c36ff8b1cee5ee1 100755 (executable)
@@ -32,13 +32,16 @@ Authors:
 //==== PRIORITY P1
 //==== SPEC Tizen Web API:TBD:Speech:SpeechSynthesisUtterance:voice A
 //==== SPEC_URL https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html
-//==== TEST_CRITERIA AE AT ARO
+//==== TEST_CRITERIA AE AT
 
 test(function () {
     var utterance = new SpeechSynthesisUtterance();
-    check_readonly(utterance, "voice", utterance.voice, "object", {name: test});
+    assert_own_property(utterance, "voice", "utterance does not own voice property.");
+    assert_type(utterance.voice, "object", "utterance.voice");
+    assert_equals(utterance.voice, null, "utterance.voice shoud be null");
 }, document.title);
 
+
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index d1cbf37da425028e9545b303269d3c906ca5393f..30162a151e552dbe452d31ea7e4887e072c4ef62 100755 (executable)
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check SpeechRecognition::serviceURI attribute exists, has type string" type="compliance" status="approved" component="W3C_HTML5 APIs/TBD/Speech" execution_type="auto" priority="P1" id="SpeechRecognition_serviceURI_attribute">
-        <description>
-          <test_script_entry>/opt/tct-speech-w3c-tests/speech/SpeechRecognition_serviceURI_attribute.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="SpeechRecognition" element_type="attribute" element_name="serviceURI" specification="Speech" section="TBD" category="Tizen W3C API Specifications"/>
-            <spec_url>https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check if SpeechRecognition::start() method works properly" type="compliance" status="approved" component="W3C_HTML5 APIs/TBD/Speech" execution_type="manual" priority="P1" id="SpeechRecognition_start">
         <description>
           <steps>
index 2ea4065aa7cdcf22159b18e56f4c3445a6190b4a..b3e0863408da585627d05dad0f822779bf4e0962 100755 (executable)
           <test_script_entry>/opt/tct-speech-w3c-tests/speech/SpeechRecognition_onstart.html</test_script_entry>
         </description>
       </testcase> -->
-      <testcase purpose="Check SpeechRecognition::serviceURI attribute exists, has type string" component="W3C_HTML5 APIs/TBD/Speech" execution_type="auto" id="SpeechRecognition_serviceURI_attribute">
-        <description>
-          <test_script_entry>/opt/tct-speech-w3c-tests/speech/SpeechRecognition_serviceURI_attribute.html</test_script_entry>
-        </description>
-      </testcase>
 <!--      <testcase purpose="Check if SpeechRecognition::start() method works properly" component="W3C_HTML5 APIs/TBD/Speech" execution_type="manual" id="SpeechRecognition_start">
         <description>
           <steps>