--- /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>SystemInfoServiceCountry_extend</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SystemInfoServiceCountry_extend
+//==== PRIORITY P3
+//==== LABEL Check if instance of SystemInfoServiceCountry interface can be extended with new property
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoServiceCountry:SystemInfoServiceCountry U
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== 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("SERVICE_COUNTRY", 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.
+
+Author:
+ Qunfang Lin <qunfang.lin@samsung.com>
+
+-->
+<html>
+<head>
+<title>SystemInfoServiceCountry_notexist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SystemInfoServiceCountry_notexist
+//==== LABEL Check if interface SystemInfoServiceCountry exists, it should not.
+//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoServiceCountry:SystemInfoServiceCountry 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("SystemInfoServiceCountry");
+}, 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>SystemInfoServiceCountry_serviceCountry_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SystemInfoServiceCountry_serviceCountry_attribute
+//==== LABEL Check if attribute serviceCountry of SystemInfoServiceCountry exists, has type DOMString and is readonly
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoServiceCountry:serviceCountry A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== 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) {
+ assert_own_property(property, "serviceCountry", "SystemInfoServiceCountry does not own serviceCountry property.");
+ check_readonly(property, "serviceCountry", property.serviceCountry, "string", "New");
+ t.done();
+ });
+
+ getPropertyValueError = t.step_func(function (error) {
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
+ error.name + ", msg: " + error.message);
+ });
+
+ tizen.systeminfo.getPropertyValue("SERVICE_COUNTRY", getPropertyValueSuccess,
+ getPropertyValueError);
+});
+
+</script>
+</body>
+</html>
</specs>
</testcase>
</set>
- <set name="SystemInfoVideoSource_TV" type="js">
+ <set name="SystemInfoWindowAPI_TV" type="js">
<capabilities>
<capability name="http://tizen.org/feature/profile"><value>TV</value></capability>
<capability name="http://tizen.org/feature/tv.pip"/>
</capabilities>
+ <testcase purpose="Check if interface SystemInfoServiceCountry exists, it should not." type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P3" id="SystemInfoServiceCountry_notexist">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoServiceCountry_notexist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfoServiceCountry" usage="true" 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 SystemInfoServiceCountry interface can be extended with new property" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P3" id="SystemInfoServiceCountry_extend">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoServiceCountry_extend.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfoServiceCountry" usage="true" 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 id of SystemInfoServiceCountry exists, has type unsigned short and is readonly" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoServiceCountry_serviceCountry_attribute">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoServiceCountry_serviceCountry_attribute.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfoServiceCountry" element_type="attribute" 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 interface SystemInfoVideoSource exists, it should not." type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P3" id="SystemInfoVideoSource_notexist">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoVideoSource_notexist.html</test_script_entry>
</description>
</testcase>
</set>
- <set name="SystemInfoVideoSource_TV" type="js">
+ <set name="SystemInfoWindowAPI_TV" type="js">
<capabilities>
<capability name="http://tizen.org/feature/profile"><value>TV</value></capability>
<capability name="http://tizen.org/feature/tv.pip"/>
</capabilities>
+ <testcase purpose="Check if interface SystemInfoServiceCountry exists, it should not." component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoServiceCountry_notexist">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoServiceCountry_notexist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if instance of SystemInfoServiceCountry interface can be extended with new property" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoServiceCountry_extend">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoServiceCountry_extend.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if attribute id of SystemInfoServiceCountry exists, has type DOMString and is readonly" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoServiceCountry_serviceCountry_attribute">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoServiceCountry_serviceCountry_attribute.html</test_script_entry>
+ </description>
+ </testcase>
<testcase purpose="Check if interface SystemInfoVideoSource exists, it should not." component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoVideoSource_notexist">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoVideoSource_notexist.html</test_script_entry>