--- /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:
+ Qunfang Lin <qunfang.lin@samsung.com>
+
+-->
+<html>
+<head>
+<title>SystemInfoVideoSourceInfo_number_attribute_bysourcechange</title>
+<meta charset="utf-8">
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SystemInfoVideoSourceInfo_number_attribute_bysourcechange
+//==== LABEL Check if attribute number of SystemInfoVideoSourceInfo exists, has type number and is readonly
+//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoVideoSourceInfo:number 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, "number", source.number, "long", 0);
+ t.done();
+ });
+
+ getPropertyValueError = t.step_func(function (e) {
+ assert_unreached("Exception: " + e.message);
+ });
+
+ tizen.systeminfo.getPropertyValue("SOURCE_INFO", 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:
+ Qunfang Lin <qunfang.lin@samsung.com>
+
+-->
+<html>
+<head>
+<title>SystemInfoVideoSourceInfo_signal_attribute_bysourcechange</title>
+<meta charset="utf-8">
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SystemInfoVideoSourceInfo_signal_attribute_bysourcechange
+//==== LABEL Check if attribute signal of SystemInfoVideoSourceInfo exists, has type boolean and is readonly
+//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoVideoSourceInfo:signal 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, "signal", source.signal, "boolean", !source.signal);
+ t.done();
+ });
+
+ getPropertyValueError = t.step_func(function (e) {
+ assert_unreached("Exception: " + e.message);
+ });
+
+ tizen.systeminfo.getPropertyValue("SOURCE_INFO", 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:
+ Qunfang Lin <qunfang.lin@samsung.com>
+
+-->
+<html>
+<head>
+<title>SystemInfoVideoSourceInfo_type_attribute_bysourcechange</title>
+<meta charset="utf-8">
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SystemInfoVideoSourceInfo_type_attribute_bysourcechange
+//==== LABEL Check if attribute type of SystemInfoVideoSourceInfo exists, has type string and is readonly
+//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoVideoSourceInfo:type 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, "type", source.type, "string", "invalid");
+ assert_in_array(source.type, ["TV", "AV", "SVIDEO", "COMP", "PC", "HDMI", "SCART", "DVI", "MEDIA"], "Incorrect value of video type");
+ 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 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>
+ <spec>
+ <spec_assertion interface="SystemInfoVideoSourceInfo" element_type="attribute" element_name="type" 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 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>
+ <spec>
+ <spec_assertion interface="SystemInfoVideoSourceInfo" element_type="attribute" element_name="signal" 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 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>
+ <spec_assertion interface="SystemInfoVideoSourceInfo" element_type="attribute" element_name="number" 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>
</set>
<set name="systeminfo_telephony_MOBILE">
<capabilities>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoVideoSourceInfo_number_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>
</set>
<set name="systeminfo_telephony_MOBILE">
<capabilities>