--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+ Kaiyuan Tang <kaiyuan.tang@samsung.com>
+
+-->
+<html>
+<head>
+<title>SystemInfo_getDeviceUptime</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_getDeviceUptime
+//==== LABEL Check if SystemInfo::getDeviceUptime() method works properly
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:System:SystemInfo:SystemInfo:getDeviceUptime M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MNA
+
+test(function () {
+ var retVal = null;
+ retVal = tizen.systeminfo.getDeviceUptime();
+ assert_type(retVal, "unsigned long long", "getDeviceUptime returns wrong value");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+ Kaiyuan Tang <kaiyuan.tang@samsung.com>
+
+-->
+<html>
+<head>
+<title>SystemInfo_getDeviceUptime_exist</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_getDeviceUptime_exist
+//==== LABEL Check if SystemInfo::getDeviceUptime() method exists
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:System:SystemInfo:SystemInfo:getDeviceUptime M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ check_method_exists(tizen.systeminfo , "getDeviceUptime");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2014 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:
+ Kaiyuan Tang <kaiyuan.tang@samsung.com>
+
+-->
+<html>
+<head>
+<title>SystemInfo_getDeviceUptime_extra_argument</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_getDeviceUptime_extra_argument
+//==== LABEL Check if SystemInfo::getDeviceUptime() method accepts extra argument
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:System:SystemInfo:SystemInfo:getDeviceUptime M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MNAEX
+
+test(function () {
+ checkExtraArgument(tizen.systeminfo, "getDeviceUptime");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
</spec>
</specs>
</testcase>
+ <testcase purpose="Check if SystemInfo::getDeviceUptime() method works properly" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_getDeviceUptime">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfo" 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 SystemInfo::getDeviceUptime() method exists" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P0" id="SystemInfo_getDeviceUptime_exist">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfo" 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 SystemInfo::getDeviceUptime() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_getDeviceUptime_extra_argument">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime_extra_argument.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfo" 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>
</set>
<set name="SystemInfo_WEARABLE" type="js">
<capabilities>
</spec>
</specs>
</testcase>
+ <testcase purpose="Check if SystemInfo::getDeviceUptime() method works properly" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_getDeviceUptime">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfo" 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 SystemInfo::getDeviceUptime() method exists" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P0" id="SystemInfo_getDeviceUptime_exist">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfo" 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 SystemInfo::getDeviceUptime() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_getDeviceUptime_extra_argument">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime_extra_argument.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfo" 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>
</set>
<set name="SystemInfo_TV" type="js">
<capabilities>
</spec>
</specs>
</testcase>
+ <testcase purpose="Check if SystemInfo::getDeviceUptime() method works properly" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_getDeviceUptime">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfo" 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 SystemInfo::getDeviceUptime() method exists" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P0" id="SystemInfo_getDeviceUptime_exist">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfo" 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 SystemInfo::getDeviceUptime() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_getDeviceUptime_extra_argument">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime_extra_argument.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfo" 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>
</set>
<set name="SystemInfoWindowAPI_TV" type="js">
<capabilities>
</spec>
</specs>
</testcase>
+ <testcase purpose="Check if SystemInfo::getDeviceUptime() method works properly" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_getDeviceUptime">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfo" 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 SystemInfo::getDeviceUptime() method exists" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P0" id="SystemInfo_getDeviceUptime_exist">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfo" 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 SystemInfo::getDeviceUptime() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_getDeviceUptime_extra_argument">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime_extra_argument.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SystemInfo" 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>
</set>
<set name="systeminfo_telephony_MOBILE">
<capabilities>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoBattery_timeToFullcharge_attribute.html</test_script_entry>
</description>
</testcase>
+ <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getDeviceUptime" priority="P1" purpose="Check if SystemInfo::getDeviceUptime() method works properly">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getDeviceUptime_exist" priority="P0" purpose="Check if SystemInfo::getDeviceUptime() method exists">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getDeviceUptime_extra_argument" priority="P1" purpose="Check if SystemInfo::getDeviceUptime() method accepts extra argument">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime_extra_argument.html</test_script_entry>
+ </description>
+ </testcase>
</set>
<set name="SystemInfo_WEARABLE" type="js">
<capabilities>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoBattery_timeToFullcharge_attribute.html</test_script_entry>
</description>
</testcase>
+ <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getDeviceUptime" priority="P1" purpose="Check if SystemInfo::getDeviceUptime() method works properly">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getDeviceUptime_exist" priority="P0" purpose="Check if SystemInfo::getDeviceUptime() method exists">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getDeviceUptime_extra_argument" priority="P1" purpose="Check if SystemInfo::getDeviceUptime() method accepts extra argument">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime_extra_argument.html</test_script_entry>
+ </description>
+ </testcase>
</set>
<set name="SystemInfo_TV" type="js">
<capabilities>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_network_ethernet.html</test_script_entry>
</description>
</testcase>
+ <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getDeviceUptime" priority="P1" purpose="Check if SystemInfo::getDeviceUptime() method works properly">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getDeviceUptime_exist" priority="P0" purpose="Check if SystemInfo::getDeviceUptime() method exists">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getDeviceUptime_extra_argument" priority="P1" purpose="Check if SystemInfo::getDeviceUptime() method accepts extra argument">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime_extra_argument.html</test_script_entry>
+ </description>
+ </testcase>
</set>
<set name="SystemInfoWindowAPI_TV" type="js">
<capabilities>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoADS_id_attribute.html</test_script_entry>
</description>
</testcase>
+ <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getDeviceUptime" priority="P1" purpose="Check if SystemInfo::getDeviceUptime() method works properly">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getDeviceUptime_exist" priority="P0" purpose="Check if SystemInfo::getDeviceUptime() method exists">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getDeviceUptime_extra_argument" priority="P1" purpose="Check if SystemInfo::getDeviceUptime() method accepts extra argument">
+ <description>
+ <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getDeviceUptime_extra_argument.html</test_script_entry>
+ </description>
+ </testcase>
</set>
<set name="systeminfo_telephony_MOBILE">
<capabilities>