--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 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:
+ Kaiyuan Tang <kaiyuan.tang@samsung.com>
+
+-->
+<html>
+<head>
+<title>SystemInfoVideoSourceInfo_editName_attribute</title>
+<meta charset="utf-8">
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SystemInfoVideoSourceInfo_editName_attribute
+//==== LABEL Check attribute editName of SystemInfoVideoSourceInfo
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoVideoSourceInfo:editName A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== TEST_CRITERIA AE AT ARO
+//==== PRIORITY P1
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), getPropertyValueSuccess,
+ getPropertyValueError;
+
+t.step(function () {
+ getPropertyValueSuccess = t.step_func(function (source) {
+ if(source.connected.length != 0){
+ assert_own_property(source.connected[0], "editName", "SystemInfoVideoSourceInfo doesn't own editName property.");
+ check_readonly(source.connected[0], "editName", source.connected[0].editName, "string", "Tizen");
+ }else if(source.disconnected.length != 0){
+ assert_own_property(source.disconnected[0], "editName", "SystemInfoVideoSourceInfo doesn't own editName property.");
+ check_readonly(source.disconnected[0], "editName", source.disconnected[0].editName, "string", "Tizen");
+ }
+ t.done();
+ });
+ getPropertyValueError = t.step_func(function (e) {
+ assert_unreached("Exception: " + e.message);
+ });
+
+ tizen.systeminfo.getPropertyValue("VIDEOSOURCE", getPropertyValueSuccess, getPropertyValueError);
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2019 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:
+ Kaiyuan Tang <kaiyuan.tang@samsung.com>
+
+-->
+<html>
+<head>
+<title>SystemInfoVideoSourceInfo_editName_attribute_bysourcechange</title>
+<meta charset="utf-8">
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SystemInfoVideoSourceInfo_editName_attribute_bysourcechange
+//==== LABEL Check if attribute editName of SystemInfoVideoSourceInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoVideoSourceInfo:editName A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== PRIORITY P1
+//==== ONLOAD_DELAY 90
+//==== TEST_CRITERIA AE AT ARO
+
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), getPropertyValueSuccess, getPropertyValueError;
+
+t.step(function () {
+ getPropertyValueSuccess = t.step_func(function (source) {
+ check_readonly(source, "editName", source.editName, "string", "Tizen");
+ t.done();
+ });
+
+ getPropertyValueError = t.step_func(function (e) {
+ assert_unreached("Exception: " + e.message);
+ });
+
+ tizen.systeminfo.getPropertyValue("SOURCE_INFO", getPropertyValueSuccess, getPropertyValueError);
+});
+
+</script>
+</body>
+</html>
</spec>
</specs>
</testcase>
+ <testcase purpose="Check if attribute editName of SystemInfoVideoSourceInfo exists, has type string and is readonly" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoVideoSourceInfo_editName_attribute">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoVideoSourceInfo_editName_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfoVideoSourceInfo" element_type="attribute" element_name="editName" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
<testcase purpose="Check if attribute type of SystemInfoVideoSourceInfo exists, has type string and is readonly" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoVideoSourceInfo_type_attribute_bysourcechange">
<description>
- <pre_condition>You must connect one type of sources(TV, AV, SVIDEO, COMP, PC, HDMI, SCART, DVI, MEDIA)</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Run the test.</step_desc>
- <expected>Pass.</expected>
- </step>
- </steps>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoVideoSourceInfo_type_attribute_bysourcechange.html</test_script_entry>
</description>
<specs>
</testcase>
<testcase purpose="Check if attribute signal of SystemInfoVideoSourceInfo exists, has type boolean and is readonly" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoVideoSourceInfo_signal_attribute_bysourcechange">
<description>
- <pre_condition>You must connect one type of sources(TV, AV, SVIDEO, COMP, PC, HDMI, SCART, DVI, MEDIA)</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Run the test.</step_desc>
- <expected>Pass.</expected>
- </step>
- </steps>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoVideoSourceInfo_signal_attribute_bysourcechange.html</test_script_entry>
</description>
<specs>
</testcase>
<testcase purpose="Check if attribute number of SystemInfoVideoSourceInfo exists, has type number and is readonly" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoVideoSourceInfo_number_attribute_bysourcechange">
<description>
- <pre_condition>You must connect one type of sources(TV, AV, SVIDEO, COMP, PC, HDMI, SCART, DVI, MEDIA)</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Run the test.</step_desc>
- <expected>Pass.</expected>
- </step>
- </steps>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoVideoSourceInfo_number_attribute_bysourcechange.html</test_script_entry>
</description>
<specs>
</spec>
</specs>
</testcase>
+ <testcase purpose="Check if attribute editName of SystemInfoVideoSourceInfo exists, has type string and is readonly" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoVideoSourceInfo_editName_attribute_bysourcechange">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoVideoSourceInfo_editName_attribute_bysourcechange.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfoVideoSourceInfo" element_type="attribute" element_name="editName" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
<testcase purpose="Check if interface SystemInfoPanel exists, it should not." type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P3" id="SystemInfoPanel_notexist">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPanel_notexist.html</test_script_entry>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoVideoSourceInfo_number_attribute.html</test_script_entry>
</description>
</testcase>
+ <testcase purpose="Check if attribute editName of SystemInfoVideoSourceInfo exists, has type string and is readonly" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoVideoSourceInfo_editName_attribute">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoVideoSourceInfo_editName_attribute.html</test_script_entry>
+ </description>
+ </testcase>
<testcase purpose="Check if attribute type of SystemInfoVideoSourceInfo exists, has type string and is readonly" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoVideoSourceInfo_type_attribute_bysourcechange">
<description>
- <pre_condition>You must connect one type of sources(TV, AV, SVIDEO, COMP, PC, HDMI, SCART, DVI, MEDIA)</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Run the test.</step_desc>
- <expected>Pass.</expected>
- </step>
- </steps>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoVideoSourceInfo_type_attribute_bysourcechange.html</test_script_entry>
</description>
</testcase>
<testcase purpose="Check if attribute signal of SystemInfoVideoSourceInfo exists, has type boolean and is readonly" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoVideoSourceInfo_signal_attribute_bysourcechange">
<description>
- <pre_condition>You must connect one type of sources(TV, AV, SVIDEO, COMP, PC, HDMI, SCART, DVI, MEDIA)</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Run the test.</step_desc>
- <expected>Pass.</expected>
- </step>
- </steps>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoVideoSourceInfo_signal_attribute_bysourcechange.html</test_script_entry>
</description>
</testcase>
<testcase purpose="Check if attribute number of SystemInfoVideoSourceInfo exists, has type number and is readonly" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoVideoSourceInfo_number_attribute_bysourcechange">
<description>
- <pre_condition>You must connect one type of sources(TV, AV, SVIDEO, COMP, PC, HDMI, SCART, DVI, MEDIA)</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Run the test.</step_desc>
- <expected>Pass.</expected>
- </step>
- </steps>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoVideoSourceInfo_number_attribute_bysourcechange.html</test_script_entry>
</description>
</testcase>
+ <testcase purpose="Check if attribute editName of SystemInfoVideoSourceInfo exists, has type string and is readonly" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoVideoSourceInfo_editName_attribute_bysourcechange">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoVideoSourceInfo_editName_attribute_bysourcechange.html</test_script_entry>
+ </description>
+ </testcase>
<testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPanel_notexist" onload_delay="90" priority="P3" purpose="Check if interface SystemInfoPanel exists, it should not.">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPanel_notexist.html</test_script_entry>