+++ /dev/null
-<!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
//==== 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>
</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>
<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>