19c555eca332080cd0f6979debf398ad9dba73d0
[test/tct/web/api.git] /
1 <!DOCTYPE html>
2 <!--
3 Copyright (c) 2013 Samsung Electronics Co., Ltd.
4
5 Licensed under the Apache License, Version 2.0 (the License);
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9     http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16
17 Authors:
18         Piotr Szydelko <p.szydelko@samsung.com>
19 -->
20 <html>
21 <head>
22 <title>SystemInfoDeviceCapability_proximityWakeup_attribute</title>
23 <meta charset="utf-8"/>
24 <script type="text/javascript" src="support/unitcommon.js"></script>
25 </head>
26
27 <body>
28 <div id="log"></div>
29 <script type="text/javascript">
30 //==== TEST: SystemInfoDeviceCapability_proximityWakeup_attribute
31 //==== LABEL Check attribute proximityWakeup of SystemInfoDeviceCapability
32 //==== SPEC Tizen Web API:System:SystemInfo:SystemInfoDeviceCapability:proximityWakeup A
33 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
34 //==== TEST_CRITERIA AE AT ARO
35
36 var deviceCapabilities = tizen.systeminfo.getCapabilities();
37 test(function () {
38     assert_own_property(deviceCapabilities, "proximityWakeup",
39         "SystemInfoDeviceCapability does not own proximityWakeup property.");
40     check_readonly(deviceCapabilities, "proximityWakeup",
41         deviceCapabilities.proximityWakeup, "boolean", null);
42 }, document.title);
43
44 </script>
45 </body>
46 </html>