--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Wangxiao Chun <xiaochn.wang@samsung.com>
+
+-->
+<html>
+<head>
+<title>Application_addEventListener_bt_state</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/app_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: Application_addEventListener_bt_state
+//==== LABEL Check if method Application::addEventListener() successfully and EventCallback is called with proper arguments when bt_state changed
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:TBD:Application:Application:addEventListener M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR CBOA CBT
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), app, eventCallback, listenerId;
+
+setup_launch(t, APP_BROAD_TEST_APP_ID, function () {
+ eventCallback = t.step_func(function (event, data) {
+ assert_type(event, "object", "event isn't an object");
+ assert_type(data, "object", "data isn't an object");
+ assert_own_property(event, "name", "EventInfo does not own name property.");
+ assert_equals(event.name, "BT_STATE", "event name isn't correct");
+ app.removeEventListener(listenerId);
+ t.done();
+ });
+
+ app = tizen.application.getCurrentApplication();
+ try {
+ listenerId = app.addEventListener({"name": "bt_state"}, eventCallback);
+ assert_type(listenerId, "number", "addEventListener returns wrong value");
+ } catch (e) {
+ assert_unreached(e.name + ": " + e.message);
+ }
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Wangxiao Chun <xiaochn.wang@samsung.com>
+
+-->
+<html>
+<head>
+<title>Application_addEventListener_gps_enable_state</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/app_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: Application_addEventListener_gps_enable_state
+//==== LABEL Check if method Application::addEventListener() successfully and EventCallback is called with proper arguments when gps_enable_state changed
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:TBD:Application:Application:addEventListener M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR CBOA CBT
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), app, eventCallback, listenerId;
+
+setup_launch(t, APP_BROAD_TEST_APP_ID, function () {
+ eventCallback = t.step_func(function (event, data) {
+ assert_type(event, "object", "event isn't an object");
+ assert_type(data, "object", "data isn't an object");
+ assert_own_property(event, "name", "EventInfo does not own name property.");
+ assert_equals(event.name, "GPS_ENABLE_STATE", "event name isn't correct");
+ app.removeEventListener(listenerId);
+ t.done();
+ });
+
+ app = tizen.application.getCurrentApplication();
+ try {
+ listenerId = app.addEventListener({"name": "gps_enable_state"}, eventCallback);
+ assert_type(listenerId, "number", "addEventListener returns wrong value");
+ } catch (e) {
+ assert_unreached(e.name + ": " + e.message);
+ }
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Wangxiao Chun <xiaochn.wang@samsung.com>
+
+-->
+<html>
+<head>
+<title>Application_addEventListener_location_enable_state</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/app_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: Application_addEventListener_location_enable_state
+//==== LABEL Check if method Application::addEventListener() successfully and EventCallback is called with proper arguments when location_enable_state changed
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:TBD:Application:Application:addEventListener M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR CBOA CBT
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), app, eventCallback, listenerId;
+
+setup_launch(t, APP_BROAD_TEST_APP_ID, function () {
+ eventCallback = t.step_func(function (event, data) {
+ assert_type(event, "object", "event isn't an object");
+ assert_type(data, "object", "data isn't an object");
+ assert_own_property(event, "name", "EventInfo does not own name property.");
+ assert_equals(event.name, "LOCATION_ENABLE_STATE", "event name isn't correct");
+ app.removeEventListener(listenerId);
+ t.done();
+ });
+
+ app = tizen.application.getCurrentApplication();
+ try {
+ listenerId = app.addEventListener({"name": "location_enable_state"}, eventCallback);
+ assert_type(listenerId, "number", "addEventListener returns wrong value");
+ } catch (e) {
+ assert_unreached(e.name + ": " + e.message);
+ }
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Wangxiao Chun <xiaochn.wang@samsung.com>
+
+-->
+<html>
+<head>
+<title>Application_addEventListener_screen_autorotate_state</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/app_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: Application_addEventListener_screen_autorotate_state
+//==== LABEL Check if method Application::addEventListener() successfully and EventCallback is called with proper arguments when screen_autorotate_state changed
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:TBD:Application:Application:addEventListener M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR CBOA CBT
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), app, eventCallback, listenerId;
+
+setup_launch(t, APP_BROAD_TEST_APP_ID, function () {
+ eventCallback = t.step_func(function (event, data) {
+ assert_type(event, "object", "event isn't an object");
+ assert_type(data, "object", "data isn't an object");
+ assert_own_property(event, "name", "EventInfo does not own name property.");
+ assert_equals(event.name, "SCREEN_AUTOROTATE_STATE", "event name isn't correct");
+ app.removeEventListener(listenerId);
+ t.done();
+ });
+
+ app = tizen.application.getCurrentApplication();
+ try {
+ listenerId = app.addEventListener({"name": "screen_autorotate_state"}, eventCallback);
+ assert_type(listenerId, "number", "addEventListener returns wrong value");
+ } catch (e) {
+ assert_unreached(e.name + ": " + e.message);
+ }
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Wangxiao Chun <xiaochn.wang@samsung.com>
+
+-->
+<html>
+<head>
+<title>Application_addEventListener_silent_mode</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/app_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: Application_addEventListener_silent_mode
+//==== LABEL Check if method Application::addEventListener() successfully and EventCallback is called with proper arguments when silent_mode changed
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:TBD:Application:Application:addEventListener M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR CBOA CBT
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), app, eventCallback, listenerId;
+
+setup_launch(t, APP_BROAD_TEST_APP_ID, function () {
+ eventCallback = t.step_func(function (event, data) {
+ assert_type(event, "object", "event isn't an object");
+ assert_type(data, "object", "data isn't an object");
+ assert_own_property(event, "name", "EventInfo does not own name property.");
+ assert_equals(event.name, "SILENT_MODE", "event name isn't correct");
+ app.removeEventListener(listenerId);
+ t.done();
+ });
+
+ app = tizen.application.getCurrentApplication();
+ try {
+ listenerId = app.addEventListener({"name": "silent_mode"}, eventCallback);
+ assert_type(listenerId, "number", "addEventListener returns wrong value");
+ } catch (e) {
+ assert_unreached(e.name + ": " + e.message);
+ }
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Wangxiao Chun <xiaochn.wang@samsung.com>
+
+-->
+<html>
+<head>
+<title>Application_addEventListener_vibration_state</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/app_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: Application_addEventListener_vibration_state
+//==== LABEL Check if method Application::addEventListener() successfully and EventCallback is called with proper arguments when vibration_state changed
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:TBD:Application:Application:addEventListener M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR CBOA CBT
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), app, eventCallback, listenerId;
+
+setup_launch(t, APP_BROAD_TEST_APP_ID, function () {
+ eventCallback = t.step_func(function (event, data) {
+ assert_type(event, "object", "event isn't an object");
+ assert_type(data, "object", "data isn't an object");
+ assert_own_property(event, "name", "EventInfo does not own name property.");
+ assert_equals(event.name, "VIBRATION_STATE", "event name isn't correct");
+ app.removeEventListener(listenerId);
+ t.done();
+ });
+
+ app = tizen.application.getCurrentApplication();
+ try {
+ listenerId = app.addEventListener({"name": "vibration_state"}, eventCallback);
+ assert_type(listenerId, "number", "addEventListener returns wrong value");
+ } catch (e) {
+ assert_unreached(e.name + ": " + e.message);
+ }
+});
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 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:
+ Wangxiao Chun <xiaochn.wang@samsung.com>
+
+-->
+<html>
+<head>
+<title>Application_addEventListener_wifi_state</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/app_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: Application_addEventListener_wifi_state
+//==== LABEL Check if method Application::addEventListener() successfully and EventCallback is called with proper arguments when wifi_state changed
+//==== ONLOAD_DELAY 90
+//==== SPEC Tizen Web API:TBD:Application:Application:addEventListener M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR CBOA CBT
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), app, eventCallback, listenerId;
+
+setup_launch(t, APP_BROAD_TEST_APP_ID, function () {
+ eventCallback = t.step_func(function (event, data) {
+ assert_type(event, "object", "event isn't an object");
+ assert_type(data, "object", "data isn't an object");
+ assert_own_property(event, "name", "EventInfo does not own name property.");
+ assert_equals(event.name, "WIFI_STATE", "event name isn't correct");
+ app.removeEventListener(listenerId);
+ t.done();
+ });
+
+ app = tizen.application.getCurrentApplication();
+ try {
+ listenerId = app.addEventListener({"name": "wifi_state"}, eventCallback);
+ assert_type(listenerId, "number", "addEventListener returns wrong value");
+ } catch (e) {
+ assert_unreached(e.name + ": " + e.message);
+ }
+});
+
+</script>
+</body>
+</html>
</spec>
</specs>
</testcase>
- <testcase purpose="Check using addAppStatusChangeListener method (installation process) in ApplicationManager interface" type="compliance" status="approved" component="Tizen Device APIs/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_addAppStatusChangeListener">
+ <testcase purpose="Check using addAppStatusChangeListener method (installation process) in ApplicationManager interface" type="compliance" status="approved" component="Tizen Device APIs/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_addAppStatusChangeListener">
<description>
<steps>
<step order="1">
<capabilities>
<capability name="http://tizen.org/feature/profile"><value>MOBILE</value></capability>
</capabilities>
+ <testcase purpose="Check if method Application::addEventListener() successfully and EventCallback is called with proper arguments when wifi_state changed" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="Application_addEventListener_wifi_state">
+ <description>
+ <steps>
+ <step order="1">
+ <step_desc>Click run.</step_desc>
+ <expected>Test start</expected>
+ </step>
+ <step order="2">
+ <step_desc>Turn on/off wifi.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-application-tizen-tests/application/Application_addEventListener_wifi_state.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="Application" element_type="method" element_name="addEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if method Application::addEventListener() successfully and EventCallback is called with proper arguments when bt_state changed" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="Application_addEventListener_bt_state">
+ <description>
+ <steps>
+ <step order="1">
+ <step_desc>Click run.</step_desc>
+ <expected>Test start</expected>
+ </step>
+ <step order="2">
+ <step_desc>Turn off bluetooth.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-application-tizen-tests/application/Application_addEventListener_bt_state.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="Application" element_type="method" element_name="addEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if method Application::addEventListener() successfully and EventCallback is called with proper arguments when gps_enable_state changed" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="Application_addEventListener_gps_enable_state">
+ <description>
+ <steps>
+ <step order="1">
+ <step_desc>Click run.</step_desc>
+ <expected>Test start</expected>
+ </step>
+ <step order="2">
+ <step_desc>Turn on/off location.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-application-tizen-tests/application/Application_addEventListener_gps_enable_state.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="Application" element_type="method" element_name="addEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if method Application::addEventListener() successfully and EventCallback is called with proper arguments when location_enable_state changed" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="Application_addEventListener_location_enable_state">
+ <description>
+ <steps>
+ <step order="1">
+ <step_desc>Click run.</step_desc>
+ <expected>Test start</expected>
+ </step>
+ <step order="2">
+ <step_desc>Turn on/off location.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-application-tizen-tests/application/Application_addEventListener_location_enable_state.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="Application" element_type="method" element_name="addEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if method Application::addEventListener() successfully and EventCallback is called with proper arguments when silent_mode changed" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="Application_addEventListener_silent_mode">
+ <description>
+ <steps>
+ <step order="1">
+ <step_desc>Click run.</step_desc>
+ <expected>Test start</expected>
+ </step>
+ <step order="2">
+ <step_desc>Turn on/off silent mode.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-application-tizen-tests/application/Application_addEventListener_silent_mode.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="Application" element_type="method" element_name="addEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if method Application::addEventListener() successfully and EventCallback is called with proper arguments when vibration_state changed" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="Application_addEventListener_vibration_state">
+ <description>
+ <steps>
+ <step order="1">
+ <step_desc>Click run.</step_desc>
+ <expected>Test start</expected>
+ </step>
+ <step order="2">
+ <step_desc>Turn on/off vibration mode.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-application-tizen-tests/application/Application_addEventListener_vibration_state.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="Application" element_type="method" element_name="addEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if method Application::addEventListener() successfully and EventCallback is called with proper arguments when screen_autorotate_state changed" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="Application_addEventListener_screen_autorotate_state">
+ <description>
+ <steps>
+ <step order="1">
+ <step_desc>Click run.</step_desc>
+ <expected>Test start</expected>
+ </step>
+ <step order="2">
+ <step_desc>Turn on/off screen auto rotation.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-application-tizen-tests/application/Application_addEventListener_screen_autorotate_state.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="Application" element_type="method" element_name="addEventListener" specification="Application" section="Application" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
<testcase purpose="Check attribute ApplicationControl::launchMode existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_launchMode_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_launchMode_attribute.html</test_script_entry>
<capabilities>
<capability name="http://tizen.org/feature/profile"><value>MOBILE</value></capability>
</capabilities>
+ <testcase component="TizenAPI/Application/Application" execution_type="manual" onload_delay="90" id="Application_addEventListener_wifi_state" priority="P1" purpose="Check if method Application::addEventListener() successfully and EventCallback is called with proper arguments when wifi_state changed">
+ <description>
+ <steps>
+ <step order="1">
+ <step_desc>Click run.</step_desc>
+ <expected>Test start</expected>
+ </step>
+ <step order="2">
+ <step_desc>Turn on/off wifi.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-application-tizen-tests/application/Application_addEventListener_wifi_state.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="TizenAPI/Application/Application" execution_type="manual" onload_delay="90" id="Application_addEventListener_bt_state" priority="P1" purpose="Check if method Application::addEventListener() successfully and EventCallback is called with proper arguments when bt_state changed">
+ <description>
+ <steps>
+ <step order="1">
+ <step_desc>Click run.</step_desc>
+ <expected>Test start</expected>
+ </step>
+ <step order="2">
+ <step_desc>Turn off bluetooth.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-application-tizen-tests/application/Application_addEventListener_bt_state.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="TizenAPI/Application/Application" execution_type="manual" onload_delay="90" id="Application_addEventListener_gps_enable_state" priority="P1" purpose="Check if method Application::addEventListener() successfully and EventCallback is called with proper arguments when gps_enable_state changed">
+ <description>
+ <steps>
+ <step order="1">
+ <step_desc>Click run.</step_desc>
+ <expected>Test start</expected>
+ </step>
+ <step order="2">
+ <step_desc>Turn on/off location.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-application-tizen-tests/application/Application_addEventListener_gps_enable_state.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="TizenAPI/Application/Application" execution_type="manual" onload_delay="90" id="Application_addEventListener_location_enable_state" priority="P1" purpose="Check if method Application::addEventListener() successfully and EventCallback is called with proper arguments when location_enable_state changed">
+ <description>
+ <steps>
+ <step order="1">
+ <step_desc>Click run.</step_desc>
+ <expected>Test start</expected>
+ </step>
+ <step order="2">
+ <step_desc>Turn on/off location.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-application-tizen-tests/application/Application_addEventListener_location_enable_state.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="TizenAPI/Application/Application" execution_type="manual" onload_delay="90" id="Application_addEventListener_silent_mode" priority="P1" purpose="Check if method Application::addEventListener() successfully and EventCallback is called with proper arguments when silent_mode changed">
+ <description>
+ <steps>
+ <step order="1">
+ <step_desc>Click run.</step_desc>
+ <expected>Test start</expected>
+ </step>
+ <step order="2">
+ <step_desc>Turn on/off silent mode.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-application-tizen-tests/application/Application_addEventListener_silent_mode.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="TizenAPI/Application/Application" execution_type="manual" onload_delay="90" id="Application_addEventListener_vibration_state" priority="P1" purpose="Check if method Application::addEventListener() successfully and EventCallback is called with proper arguments when vibration_state changed">
+ <description>
+ <steps>
+ <step order="1">
+ <step_desc>Click run.</step_desc>
+ <expected>Test start</expected>
+ </step>
+ <step order="2">
+ <step_desc>Turn on/off vibration mode.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-application-tizen-tests/application/Application_addEventListener_vibration_state.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="TizenAPI/Application/Application" execution_type="manual" onload_delay="90" id="Application_addEventListener_screen_autorotate_state" priority="P1" purpose="Check if method Application::addEventListener() successfully and EventCallback is called with proper arguments when screen_autorotate_state changed">
+ <description>
+ <steps>
+ <step order="1">
+ <step_desc>Click run.</step_desc>
+ <expected>Test start</expected>
+ </step>
+ <step order="2">
+ <step_desc>Turn on/off screen auto rotation.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-application-tizen-tests/application/Application_addEventListener_screen_autorotate_state.html</test_script_entry>
+ </description>
+ </testcase>
<testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_launchMode_attribute" priority="P1" purpose="Check attribute ApplicationControl::launchMode existence and type">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_launchMode_attribute.html</test_script_entry>