--- /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>SystemInfoPanel_extend</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/systeminfo_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SystemInfoPanel_extend
+//==== LABEL Check if instance of SystemInfoPanel interface can be extended with new property
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoPanel:SystemInfoPanel U
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== PRIORITY P3
+//==== TEST_CRITERIA OBX
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), getPropertyValueSuccess,
+ getPropertyValueError;
+
+t.step(function () {
+ getPropertyValueSuccess = t.step_func(function (property) {
+ check_extensibility(property);
+ t.done();
+ });
+
+ getPropertyValueError = t.step_func(function (error) {
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
+ error.name + ", msg: " + error.message);
+ });
+
+ tizen.systeminfo.getPropertyValue("PANEL", 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>SystemInfoPanel_notexist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/systeminfo_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SystemInfoPanel_notexist
+//==== LABEL Check if interface SystemInfoPanel exists, it should not.
+//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoPanel:SystemInfoPanel U
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== PRIORITY P3
+//==== TEST_CRITERIA NIO
+
+test(function () {
+ check_no_interface_object("SystemInfoPanel");
+}, document.title);
+
+</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>SystemInfoPanel_panelHeight</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/systeminfo_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SystemInfoPanel_panelHeight
+//==== LABEL Check if attribute panelHeight of SystemInfoPanel exists, has type string and is readonly
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoPanel:panelHeight A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== PRIORITY P1
+//==== 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 (property) {
+ check_readonly(property, "panelHeight", property.panelHeight, "unsigned long", property.panelHeight + 5);
+ t.done();
+ });
+
+ getPropertyValueError = t.step_func(function (error) {
+ assert_unreached("getPropertyValue() error callback invoked");
+ });
+
+ tizen.systeminfo.getPropertyValue("PANEL", 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>SystemInfoPanel_panelWidth</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/systeminfo_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SystemInfoPanel_panelWidth
+//==== LABEL Check if attribute panelWidth of SystemInfoPanel exists, has type string and is readonly
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoPanel:panelWidth A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== PRIORITY P1
+//==== 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 (property) {
+ check_readonly(property, "panelWidth", property.panelWidth, "unsigned long", property.panelWidth + 5);
+ t.done();
+ });
+
+ getPropertyValueError = t.step_func(function (error) {
+ assert_unreached("getPropertyValue() error callback invoked");
+ });
+
+ tizen.systeminfo.getPropertyValue("PANEL", 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>SystemInfo_addPropertyValueArrayChangeListener_errorCallback_NotSupportedError</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/systeminfo_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SystemInfo_addPropertyValueArrayChangeListener_errorCallback_NotSupportedError
+//==== LABEL Check if addPropertyValueArrayChangeListener() error callback will be invoked when use PANEL property
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:System:SystemInfo:SystemInfo:addPropertyValueArrayChangeListener M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== PRIORITY P2
+//==== TEST_CRITERIA MERRCB
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), addPropertyValueArrayChangeListenerSuccess,
+ addPropertyValueArrayChangeListenerError;
+
+t.step(function () {
+ addPropertyValueArrayChangeListenerSuccess = t.step_func(function (properties) {
+ assert_unreached("successCallback should not invoked");
+ });
+
+ addPropertyValueArrayChangeListenerError = t.step_func(function (error) {
+ assert_equals(error.name, "NotSupportedError", "incorrect error was thrown");
+ t.done();
+ });
+
+ tizen.systeminfo.addPropertyValueArrayChangeListener("PANEL", addPropertyValueArrayChangeListenerSuccess,
+ null, addPropertyValueArrayChangeListenerError);
+});
+
+</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>SystemInfo_addPropertyValueChangeListener_errorCallback_NotSupportedError</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/systeminfo_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SystemInfo_addPropertyValueChangeListener_errorCallback_NotSupportedError
+//==== LABEL Check if addPropertyValueChangeListener() error callback will be invoked when use PANEL property
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:System:SystemInfo:SystemInfo:addPropertyValueChangeListener M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== PRIORITY P2
+//==== TEST_CRITERIA MERRCB
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), addPropertyValueChangeListenerSuccess,
+ addPropertyValueChangeListenerError;
+
+t.step(function () {
+ addPropertyValueChangeListenerSuccess = t.step_func(function (property) {
+ assert_unreached("successCallback should not invoked");
+ });
+
+ addPropertyValueChangeListenerError = t.step_func(function (error) {
+ assert_equals(error.name, "NotSupportedError", "incorrect error was thrown");
+ t.done();
+ });
+
+ tizen.systeminfo.addPropertyValueChangeListener("PANEL", addPropertyValueChangeListenerSuccess,
+ null, addPropertyValueChangeListenerError);
+});
+
+</script>
+</body>
+</html>
</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>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfoPanel" element_type="object" element_name="profile" 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 instance of SystemInfoPanel interface can be extended with new property" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P3" id="SystemInfoPanel_extend">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPanel_extend.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfoPanel" element_type="object" element_name="profile" 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 panelHeight of SystemInfoPanel exists, has type string and is readonly" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPanel_panelHeight">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPanel_panelHeight.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfoPanel" 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 panelWidth of SystemInfoPanel exists, has type string and is readonly" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPanel_panelWidth">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPanel_panelWidth.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfoPanel" 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 addPropertyValueChangeListener() error callback will be invoked when use PANEL property" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P2" id="SystemInfo_addPropertyValueChangeListener_errorCallback_NotSupportedError">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_addPropertyValueChangeListener_errorCallback_NotSupportedError.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfo" element_type="method" element_name="addPropertyValueChangeListener" 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 addPropertyValueArrayChangeListener() error callback will be invoked when use PANEL property" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P2" id="SystemInfo_addPropertyValueArrayChangeListener_errorCallback_NotSupportedError">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_addPropertyValueArrayChangeListener_errorCallback_NotSupportedError.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfo" element_type="method" element_name="addPropertyValueArrayChangeListener" 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_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>
+ </description>
+ </testcase>
+ <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPanel_extend" purpose="Check if instance of SystemInfoPanel interface can be extended with new property">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPanel_extend.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPanel_panelHeight" onload_delay="90" priority="P1" purpose="Check if attribute panelHeight of SystemInfoPanel exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPanel_panelHeight.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPanel_panelWidth" onload_delay="90" priority="P1" purpose="Check if attribute panelWidth of SystemInfoPanel exists, has type string and is readonly">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPanel_panelWidth.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_addPropertyValueChangeListener_errorCallback_NotSupportedError" onload_delay="90" priority="P2" purpose="Check if addPropertyValueChangeListener() error callback will be invoked when use PANEL property">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_addPropertyValueChangeListener_errorCallback_NotSupportedError.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_addPropertyValueArrayChangeListener_errorCallback_NotSupportedError" onload_delay="90" priority="P2" purpose="Check if addPropertyValueArrayChangeListener() error callback will be invoked when use PANEL property">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_addPropertyValueArrayChangeListener_errorCallback_NotSupportedError.html</test_script_entry>
+ </description>
+ </testcase>
</set>
<set name="systeminfo_telephony_MOBILE">
<capabilities>