<feature name="http://tizen.org/feature/sensor.photometer"/>
<feature name="http://tizen.org/feature/sensor.wrist_up"/>
<feature name="http://tizen.org/feature/location.batch"/>
- <feature name="http://tizen.org/feature/sensor.activity_recognition"/>
<feature name="http://tizen.org/feature/sensor.sleep_monitor"/>
<feature name="http://tizen.org/feature/sensor.stress_monitor"/>
- <feature name="http://tizen.org/feature/sensor.gesture_recognition"/>
<icon src="icon.png" height="117" width="117"/>
<tizen:application id="api1human0.WebAPItizenHumanTests" package="api1human0" required_version="6.0"/>
<tizen:setting screen-orientation="landscape" />
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>GestureData_event_attribute</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: GestureData_event_attribute
-//==== LABEL Check if GestureData::event exists, has type string, and is readonly
-//==== SPEC Tizen Web API:Sensor:GestureData::event A
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== EXECUTION_TYPE manual
-//==== STEP Click Run button, and then pick up device
-//==== EXPECT Pass should be shown in the page
-//==== TEST_CRITERIA AE AT ARO
-
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), watchID = null, listener, gestureType = "GESTURE_PICK_UP";
-
-t.step(function () {
- add_result_callback(function () {
- tizen.humanactivitymonitor.removeGestureRecognitionListener(watchID);
- });
-
- listener = t.step_func(function (gestureData) {
- check_readonly(gestureData, "event", gestureData.event, "string", gestureData.event + "1");
- t.done();
- });
-
- watchID = tizen.humanactivitymonitor.addGestureRecognitionListener(gestureType, listener);
-});
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>GestureData_notexist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: GestureData_notexist
-//==== LABEL Check if GestureData does not exist
-//==== SPEC Tizen Web API:Sensor:HumanActivityMonitor:GestureData U
-//==== SPEC_URL TBD
-//==== PRIORITY P3
-//==== TEST_CRITERIA CBNIO
-
-test(function () {
- check_no_interface_object("GestureData");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>GestureData_timestamp_attribute</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: GestureData_timestamp_attribute
-//==== LABEL Check if GestureData::timestamp exists, has type long, and is readonly
-//==== SPEC Tizen Web API:Sensor:GestureData::timestamp A
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== EXECUTION_TYPE manual
-//==== STEP Click Run button, and then pick up device
-//==== EXPECT Pass should be shown in the page
-//==== TEST_CRITERIA AE AT ARO
-
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), watchID = null, listener, gestureType = "GESTURE_PICK_UP";
-
-t.step(function () {
- add_result_callback(function () {
- tizen.humanactivitymonitor.removeGestureRecognitionListener(watchID);
- });
-
- listener = t.step_func(function (gestureData) {
- check_readonly(gestureData, "timestamp", gestureData.timestamp, "number", gestureData.event + 1);
- t.done();
- });
-
- watchID = tizen.humanactivitymonitor.addGestureRecognitionListener(gestureType, listener);
-});
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>GestureData_type_attribute</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: GestureData_type_attribute
-//==== LABEL Check if GestureData::type exists, has type string, and is readonly
-//==== SPEC Tizen Web API:Sensor:GestureData::type A
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== EXECUTION_TYPE manual
-//==== STEP Click Run button, and then pick up device
-//==== EXPECT Pass should be shown in the page
-//==== TEST_CRITERIA AE AT ARO
-
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), watchID = null, listener, gestureType = "GESTURE_PICK_UP";
-
-t.step(function () {
- add_result_callback(function () {
- tizen.humanactivitymonitor.removeGestureRecognitionListener(watchID);
- });
-
- listener = t.step_func(function (gestureData) {
- check_readonly(gestureData, "type", gestureData.type, "string", gestureData.type + "1");
- t.done();
- });
-
- watchID = tizen.humanactivitymonitor.addGestureRecognitionListener(gestureType, listener);
-});
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>GestureData_x_attribute</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: GestureData_x_attribute
-//==== LABEL Check if GestureData::x exists, has type double, and is readonly
-//==== SPEC Tizen Web API:Sensor:GestureData::x A
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== EXECUTION_TYPE manual
-//==== STEP Click Run button, and then pick up device
-//==== EXPECT Pass should be shown in the page
-//==== TEST_CRITERIA AE AT ARO
-
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), watchID = null, listener, gestureType = "GESTURE_PICK_UP", isSupported;
-
-t.step(function () {
- add_result_callback(function () {
- tizen.humanactivitymonitor.removeGestureRecognitionListener(watchID);
- });
-
- isSupported = tizen.humanactivitymonitor.isGestureSupported(gestureType);
- if(isSupported){
- listener = t.step_func(function (gestureData) {
- check_readonly(gestureData, "x", gestureData.x, "number", gestureData.x + 1);
- t.done();
- });
-
- watchID = tizen.humanactivitymonitor.addGestureRecognitionListener(gestureType, listener);
- }else{
- t.done();
- }
-});
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>GestureData_y_attribute</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: GestureData_y_attribute
-//==== LABEL Check if GestureData::y exists, has type double, and is readonly
-//==== SPEC Tizen Web API:Sensor:GestureData::y A
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== EXECUTION_TYPE manual
-//==== STEP Click Run button, and then pick up device
-//==== EXPECT Pass should be shown in the page
-//==== TEST_CRITERIA AE AT ARO
-
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), watchID = null, listener, gestureType = "GESTURE_PICK_UP";
-
-t.step(function () {
- add_result_callback(function () {
- tizen.humanactivitymonitor.removeGestureRecognitionListener(watchID);
- });
-
- isSupported = tizen.humanactivitymonitor.isGestureSupported(gestureType);
- if(isSupported){
- listener = t.step_func(function (gestureData) {
- check_readonly(gestureData, "y", gestureData.y, "number", gestureData.y + 1);
- t.done();
- });
-
- watchID = tizen.humanactivitymonitor.addGestureRecognitionListener(gestureType, listener);
- }else{
- t.done();
- }
-});
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>GestureRecognitionCallback_notexist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: GestureRecognitionCallback_notexist
-//==== LABEL Check if GestureRecognitionCallback does not exist
-//==== SPEC Tizen Web API:Sensor:HumanActivityMonitor:GestureRecognitionCallback U
-//==== SPEC_URL TBD
-//==== PRIORITY P3
-//==== TEST_CRITERIA CBNIO
-
-test(function () {
- check_no_interface_object("GestureRecognitionCallback");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>GestureRecognitionCallback_onsuccess</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/humanactivitymonitor_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: GestureRecognitionCallback_onsuccess
-//==== LABEL Test whether GestureRecognitionCallback::onsuccess() is called with argument of proper type
-//==== SPEC Tizen Web API:Sensor:HumanActivityMonitor:GestureRecognitionCallback:onsuccess M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== EXECUTION_TYPE manual
-//==== STEP Click Run button, and then pick up device
-//==== EXPECT Pass should be shown in the page
-//==== TEST_CRITERIA CBT CBOA
-
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), watchID = null, listener, gestureType = "GESTURE_PICK_UP";
-
-t.step(function () {
- add_result_callback(function () {
- tizen.humanactivitymonitor.removeGestureRecognitionListener(watchID);
- });
-
- listener = t.step_func(function (gestureData) {
- assert_not_equals(gestureData , null, "Argument should not be null.");
- check_readonly(gestureData, "type", gestureData.type, "string", gestureData.type + "1");
- check_readonly(gestureData, "event", gestureData.event, "string", gestureData.event + "1");
- check_readonly(gestureData, "timestamp", gestureData.timestamp, "number", gestureData.timestamp + 1);
- t.done();
- });
-
- watchID = tizen.humanactivitymonitor.addGestureRecognitionListener(gestureType, listener);
-});
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2016 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:
- Hyukin Kwon <hyukin.kwon@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_addActivityRecognitionListener_STATIONARY</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/humanactivitymonitor_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_addActivityRecognitionListener_STATIONARY
-//==== LABEL Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value
-//==== SPEC Tizen Web API:HumanActivityMonitor:HumanActivityMonitorManager:addActivityRecognitionListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== EXECUTION_TYPE manual
-//==== STEP Press run button, then keep the device stationary
-//==== EXPECT Pass
-//==== TEST_CRITERIA MR MMINA CBT
-//==== ONLOAD_DELAY 120
-
-setup({"timeout": 120000});
-
-var t = async_test(document.title, {"timeout": 120000}), returnedValue = null, humanActivityType = "STATIONARY", listener;
-
-t.step(function () {
- add_result_callback(function () {
- tizen.humanactivitymonitor.removeActivityRecognitionListener(returnedValue);
- });
-
- listener = t.step_func(function (info) {
- assert_type(info, "object", "info is not an object");
- assert_own_property(info, "type", "info does not have type property");
- assert_equals(info.type, "STATIONARY", "Expected STATIONARY, but got " + info.type);
- assert_own_property(info, "timestamp", "info does not have timestamp property");
- assert_type(info.timestamp, "long", "info.timestamp is not long type");
- assert_in_array(info.accuracy, ["LOW", "MEDIUM", "HIGH"], "Incorrect value of type");
- assert_type(info, "object", "info is not an object");
- t.done();
- });
-
- returnedValue = tizen.humanactivitymonitor.addActivityRecognitionListener(humanActivityType, listener);
- assert_type(returnedValue, "long", "Incorrect type returned from addActivityRecognitionListener");
- alert("Keep the device stationary after pressing OK.");
-});
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2016 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:
- Hyukin Kwon <hyukin.kwon@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_addActivityRecognitionListener_WALKING</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/humanactivitymonitor_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_addActivityRecognitionListener_WALKING
-//==== LABEL Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value
-//==== SPEC Tizen Web API:HumanActivityMonitor:HumanActivityMonitorManager:addActivityRecognitionListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== EXECUTION_TYPE manual
-//==== STEP Press run button. Pretend walking with the device more than 3 minutes.
-//==== EXPECT Pass
-//==== TEST_CRITERIA MR MMINA CBT
-//==== ONLOAD_DELAY 300
-
-setup({"timeout": 300000});
-
-var t = async_test(document.title, {"timeout": 300000}), returnedValue = null, humanActivityType = "WALKING", listener;
-
-t.step(function () {
- add_result_callback(function () {
- tizen.humanactivitymonitor.removeActivityRecognitionListener(returnedValue);
- });
-
- listener = t.step_func(function (info) {
- assert_type(info, "object", "info is not an object");
- assert_own_property(info, "type", "info does not have type property");
- assert_equals(info.type, "WALKING", "Expected WALKING, but got " + info.type);
- assert_own_property(info, "timestamp", "info does not have timestamp property");
- assert_type(info.timestamp, "long", "info.timestamp is not long type");
- assert_in_array(info.accuracy, ["LOW", "MEDIUM", "HIGH"], "Incorrect value of type");
- assert_type(info, "object", "info is not an object");
- t.done();
- });
-
- returnedValue = tizen.humanactivitymonitor.addActivityRecognitionListener(humanActivityType, listener);
- assert_type(returnedValue, "long", "Incorrect type returned from addActivityRecognitionListener");
- alert("Grab the device, and pretend walking more than 3 minutes after pressing OK.");
-});
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2016 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:
- Hyukin Kwon <hyukin.kwon@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_addActivityRecognitionListener_errorCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/humanactivitymonitor_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_addActivityRecognitionListener_errorCallback_TypeMismatch
-//==== LABEL Check if the method addActivityRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when invalid type value is assigned for errorCallback parameter
-//==== SPEC Tizen Web API:HumanActivityMonitor:HumanActivityMonitorManager:addActivityRecognitionListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-test(function () {
- var humanActivityType = "STATIONARY", listener, errorCallback, conversionTable, exceptionName;
- listener = function () {};
- conversionTable = getTypeConversionExceptions("functionObject", false);
- for (i = 0; i < conversionTable.length; i++) {
- listener = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- tizen.humanactivitymonitor.addActivityRecognitionListener(humanActivityType, listener, errorCallback);
- }, "TypeMismatchError should be thrown - given incorrect listener");
- }
-}, document.title);
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2016 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:
- Hyukin Kwon <hyukin.kwon@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_addActivityRecognitionListener_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/humanactivitymonitor_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_addActivityRecognitionListener_exist
-//==== LABEL Check if the method addActivityRecognitionListener of HumanActivityMonitorManager exist
-//==== SPEC Tizen Web API:HumanActivityMonitor:HumanActivityMonitorManager:addActivityRecognitionListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA ME
-
-test(function () {
- check_method_exists(tizen.humanactivitymonitor, "addActivityRecognitionListener");
-}, document.title);
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2016 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:
- Hyukin Kwon <hyukin.kwon@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_addActivityRecognitionListener_type_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/humanactivitymonitor_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_addActivityRecognitionListener_type_TypeMismatch
-//==== LABEL Check if the method addActivityRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when invalid value is assigned for type parameter
-//==== SPEC Tizen Web API:HumanActivityMonitor:HumanActivityMonitorManager:addActivityRecognitionListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC MTCB MTL
-
-test(function () {
- var humanActivityType = "STATIONARY", listener, conversionTable, exceptionName;
- conversionTable = getTypeConversionExceptions("functionObject", false);
- for (i = 0; i < conversionTable.length; i++) {
- listener = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- tizen.humanactivitymonitor.addActivityRecognitionListener(humanActivityType, listener);
- }, "TypeMismatchError should be thrown - given incorrect listener");
- }
-}, document.title);
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2016 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:
- Hyukin Kwon <hyukin.kwon@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_addActivityRecognitionListener_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/humanactivitymonitor_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_addActivityRecognitionListener_misarg
-//==== LABEL Check if the method addActivityRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when no param assigned
-//==== SPEC Tizen Web API:HumanActivityMonitor:HumanActivityMonitorManager:addActivityRecognitionListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- tizen.humanactivitymonitor.addActivityRecognitionListener();
- }, TYPE_MISMATCH_EXCEPTION + " should be thrown when no argument assigned");
-}, document.title);
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2016 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:
- Hyukin Kwon <hyukin.kwon@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_addActivityRecognitionListener_listener_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/humanactivitymonitor_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_addActivityRecognitionListener_listener_TypeMismatch
-//==== LABEL Check if the method addActivityRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when invalid type value is assigned for listener parameter
-//==== SPEC Tizen Web API:HumanActivityMonitor:HumanActivityMonitorManager:addActivityRecognitionListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-test(function () {
- var humanActivityType = "INVALID", listener;
- listener = function () {};
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- tizen.humanactivitymonitor.addActivityRecognitionListener(humanActivityType, listener);
- });
-}, document.title);
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2016 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:
- Hyukin Kwon <hyukin.kwon@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_addActivityRecognitionListener_with_errorCallback</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/humanactivitymonitor_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_addActivityRecognitionListener_with_errorCallback
-//==== LABEL Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value with errorcallback assigned
-//==== SPEC Tizen Web API:HumanActivityMonitor:HumanActivityMonitorManager:addActivityRecognitionListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== EXECUTION_TYPE manual
-//==== STEP Press run button, then keep the device stationary
-//==== EXPECT Pass
-//==== TEST_CRITERIA MR MOA CBT
-//==== ONLOAD_DELAY 60
-
-setup({"timeout": 60000});
-
-var t = async_test(document.title, {"timeout": 60000}), returnedValue = null, humanActivityType = "STATIONARY", listener, errorCallback;
-
-t.step(function () {
- add_result_callback(function () {
- tizen.humanactivitymonitor.removeActivityRecognitionListener(returnedValue);
- });
-
- errorCallback = t.step_func(function (error) {
- assert_unreached("Error callback should not be invoked, but was invoked with the error " + error.name);
- });
-
- listener = t.step_func(function (info) {
- assert_type(info, "object", "info is not an object");
- assert_own_property(info, "type", "info does not have type property");
- assert_equals(info.type, "STATIONARY", "Expected STATIONARY, but got " + info.type);
- assert_own_property(info, "timestamp", "info does not have timestamp property");
- assert_type(info.timestamp, "long", "info.timestamp is not long type");
- assert_in_array(info.accuracy, ["LOW", "MEDIUM", "HIGH"], "Incorrect value of type");
- assert_type(info, "object", "info is not an object");
- t.done();
- });
-
- returnedValue = tizen.humanactivitymonitor.addActivityRecognitionListener(humanActivityType, listener, errorCallback);
- assert_type(returnedValue, "long", "Incorrect type returned from addActivityRecognitionListener");
- alert("Keep the device stationary after pressing OK.");
-});
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2016 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:
- Hyukin Kwon <hyukin.kwon@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_addActivityRecognitionListener_with_errorCallback_null</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/humanactivitymonitor_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_addActivityRecognitionListener_with_errorCallback_null
-//==== LABEL Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value with errorcallback null assigned
-//==== SPEC Tizen Web API:HumanActivityMonitor:HumanActivityMonitorManager:addActivityRecognitionListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== EXECUTION_TYPE manual
-//==== STEP Press run button, then keep the device stationary
-//==== EXPECT Pass
-//==== TEST_CRITERIA MR MMINA CBT
-//==== ONLOAD_DELAY 60
-
-setup({"timeout": 60000});
-
-var t = async_test(document.title, {"timeout": 60000}), returnedValue = null, humanActivityType = "STATIONARY", listener;
-
-t.step(function () {
- add_result_callback(function () {
- tizen.humanactivitymonitor.removeActivityRecognitionListener(returnedValue);
- });
-
- listener = t.step_func(function (info) {
- assert_type(info, "object", "info is not an object");
- assert_own_property(info, "type", "info does not have type property");
- assert_equals(info.type, "STATIONARY", "Expected STATIONARY, but got " + info.type);
- assert_own_property(info, "timestamp", "info does not have timestamp property");
- assert_type(info.timestamp, "long", "info.timestamp is not long type");
- assert_in_array(info.accuracy, ["LOW", "MEDIUM", "HIGH"], "Incorrect value of type");
- assert_type(info, "object", "info is not an object");
- t.done();
- });
-
- returnedValue = tizen.humanactivitymonitor.addActivityRecognitionListener(humanActivityType, listener, null);
- assert_type(returnedValue, "long", "Incorrect type returned from addActivityRecognitionListener");
- alert("Keep the device stationary after pressing OK.");
-});
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_addGestureRecognitionListener</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_addGestureRecognitionListener
-//==== LABEL Check if method HumanActivityMonitorManager::addGestureRecognitionListener() works properly
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== EXECUTION_TYPE manual
-//==== STEP Click Run button, and then pick up device
-//==== EXPECT Pass should be shown in the page
-//==== TEST_CRITERIA MR MMINA
-
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), returnedValue = null, listener, gestureType = "GESTURE_PICK_UP";
-
-t.step(function () {
- add_result_callback(function () {
- tizen.humanactivitymonitor.removeGestureRecognitionListener(returnedValue);
- });
-
- listener = t.step_func(function (data) {
- assert_type(returnedValue, "number", "Return value is not number");
- t.done();
- });
-
- returnedValue = tizen.humanactivitymonitor.addGestureRecognitionListener(gestureType, listener);
-});
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_addGestureRecognitionListener_errorCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_addGestureRecognitionListener_errorCallback_TypeMismatch
-//==== LABEL Check if HumanActivityMonitorManager::addGestureRecognitionListener() with incorrect errorCallback argument throws exception
-//==== PRIORITY P2
-//==== ONLOAD_DELAY 30
-//==== SPEC Tizen Web API:Sensor:HumanActivityMonitor:HumanActivityMonitorManager:addGestureRecognitionListener M
-//==== SPEC_URL TBD
-//==== TTEST_CRITERIA MC
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), gestureType = "GESTURE_PICK_UP",
- conversionTable, errorCallback, exceptionName, i;
-
-t.step(function () {
- conversionTable = getTypeConversionExceptions("functionObject", true);
- for (i = 0; i < conversionTable.length; i++) {
- errorCallback = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- tizen.humanactivitymonitor.addGestureRecognitionListener(gestureType, function(){}, errorCallback);
- }, TYPE_MISMATCH_EXCEPTION + "should be thrown");
- }
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_addGestureRecognitionListener_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_addGestureRecognitionListener_exist
-//==== LABEL Check if addGestureRecognitionListener exists
-//==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorManager:addGestureRecognitionListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- assert_true("addGestureRecognitionListener" in tizen.humanactivitymonitor, "HumanActivityMonitorManager should have addGestureRecognitionListener method");
- check_method_exists(tizen.humanactivitymonitor, "addGestureRecognitionListener");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_addGestureRecognitionListener_listener_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_addGestureRecognitionListener_listener_TypeMismatch
-//==== LABEL Check if HumanActivityMonitorManager::addGestureRecognitionListener() with incorrect listener argument throws exception
-//==== PRIORITY P2
-//==== ONLOAD_DELAY 30
-//==== SPEC Tizen Web API:Sensor:HumanActivityMonitor:HumanActivityMonitorManager:addGestureRecognitionListener M
-//==== SPEC_URL TBD
-//==== TTEST_CRITERIA MC
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), gestureType = "GESTURE_PICK_UP",
- conversionTable, listener, exceptionName, i;
-
-t.step(function () {
- conversionTable = getTypeConversionExceptions("functionObject", false);
- for (i = 0; i < conversionTable.length; i++) {
- listener = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- tizen.humanactivitymonitor.addGestureRecognitionListener(gestureType, listener);
- }, TYPE_MISMATCH_EXCEPTION + "should be thrown");
- }
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_addGestureRecognitionListener_listener_invalid_cb</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_addGestureRecognitionListener_listener_invalid_cb
-//==== LABEL Check if HumanActivityMonitorManager::addGestureRecognitionListener() method throws exception when listener is invalid
-//==== PRIORITY: P2
-//==== SPEC Tizen Web API:Sensor:HumanActivityMonitor:HumanActivityMonitorManager:addGestureRecognitionListener M
-//==== SPEC_URL TBD
-//==== ONLOAD_DELAY 30
-//==== TEST_CRITERIA MTCB
-
-setup({timeout: 30000});
-
-var t = async_test(document.title, {timeout: 30000}), gestureType = "GESTURE_PICK_UP", invalidCallback;
-
-t.step(function () {
- invalidCallback = {
- onsuccess: t.step_func(function (data) {
- assert_unreached("addGestureRecognitionListener() listener should not invoked");
- })
- };
-
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- tizen.humanactivitymonitor.addGestureRecognitionListener(gestureType, invalidCallback);
- }, TYPE_MISMATCH_EXCEPTION + " should be thrown");
- t.done();
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_addGestureRecognitionListener_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_addGestureRecognitionListener_misarg
-//==== LABEL Check if HumanActivityMonitorManager::addGestureRecognitionListener() called with missing non-optional argument throws an exception
-//==== PRIORITY P2
-//==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorManager:addGestureRecognitionListener M
-//==== SPEC_URL TBD
-//==== TEST_CRITERIA MMA
-
-test(function () {
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- tizen.humanactivitymonitor.addGestureRecognitionListener();
- }, "TypeMismatchError exception should throw");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_addGestureRecognitionListener_type_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/humanactivitymonitor_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_addGestureRecognitionListener_type_TypeMismatch
-//==== LABEL Check if the method addGestureRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when invalid gestureType value is assigned
-//==== SPEC Tizen Web API:HumanActivityMonitor:HumanActivityMonitorManager:addGestureRecognitionListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-test(function () {
- var gestureType = "INVALID", listener;
- listener = function () {};
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- tizen.humanactivitymonitor.addGestureRecognitionListener(gestureType, listener);
- });
-}, document.title);
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_addGestureRecognitionListener_with_alwaysOn</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_addGestureRecognitionListener_with_alwaysOn
-//==== LABEL Check if method HumanActivityMonitorManager::addGestureRecognitionListener() works properly with alwaysOn assigned
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== EXECUTION_TYPE manual
-//==== STEP Click Run button, and then pick up device
-//==== EXPECT Pass should be shown in the page
-//==== TEST_CRITERIA MR MOA
-
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), returnedValue = null, listener, gestureType = "GESTURE_PICK_UP", errorCallback, alwaysOn = true;
-
-t.step(function () {
- add_result_callback(function () {
- tizen.humanactivitymonitor.removeGestureRecognitionListener(returnedValue);
- });
-
- listener = t.step_func(function (data) {
- assert_type(returnedValue, "number", "Return value is not number");
- t.done();
- });
-
- errorCallback = t.step_func(function (error) {
- assert_unreached("Error callback should not be invoked, but was invoked with the error " + error.name);
- });
-
- returnedValue = tizen.humanactivitymonitor.addGestureRecognitionListener(gestureType, listener, errorCallback, alwaysOn);
-});
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_addGestureRecognitionListener_with_errorCallback</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_addGestureRecognitionListener_with_errorCallback
-//==== LABEL Check if method HumanActivityMonitorManager::addGestureRecognitionListener() works properly with errorCallback assigned
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== EXECUTION_TYPE manual
-//==== STEP Click Run button, and then pick up device
-//==== EXPECT Pass should be shown in the page
-//==== TEST_CRITERIA MR MOA
-
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), returnedValue = null, listener, gestureType = "GESTURE_PICK_UP", errorCallback;
-
-t.step(function () {
- add_result_callback(function () {
- tizen.humanactivitymonitor.removeGestureRecognitionListener(returnedValue);
- });
-
- listener = t.step_func(function (data) {
- assert_type(returnedValue, "number", "Return value is not number");
- t.done();
- });
-
- errorCallback = t.step_func(function (error) {
- assert_unreached("Error callback should not be invoked, but was invoked with the error " + error.name);
- });
-
- returnedValue = tizen.humanactivitymonitor.addGestureRecognitionListener(gestureType, listener, errorCallback);
-});
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_isGestureSupported</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_isGestureSupported
-//==== LABEL Check if method HumanActivityMonitorManager::isGestureSupported() works properly
-//==== PRIORITY P1
-//==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorManager:isGestureSupported M
-//==== SPEC_URL TBD
-//==== TEST_CRITERIA MR
-
-test(function () {
- var returnedValue = null;
- returnedValue = tizen.humanactivitymonitor.isGestureSupported("GESTURE_PICK_UP");
- assert_type(returnedValue, "boolean", "Return value is not boolean");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_isGestureSupported_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_isGestureSupported_exist
-//==== LABEL Check if isGestureSupported exists
-//==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorManager:isGestureSupported M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- assert_true("isGestureSupported" in tizen.humanactivitymonitor, "HumanActivityMonitorManager should have isGestureSupported method");
- check_method_exists(tizen.humanactivitymonitor, "isGestureSupported");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_isGestureSupported_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_isGestureSupported_misarg
-//==== LABEL Check if HumanActivityMonitorManager::isGestureSupported() called with missing non-optional argument throws an exception
-//==== PRIORITY P2
-//==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorManager:isGestureSupported M
-//==== SPEC_URL TBD
-//==== TEST_CRITERIA MMA
-
-test(function () {
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- tizen.humanactivitymonitor.isGestureSupported();
- }, "TypeMismatchError exception should throw");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_isGestureSupported_type_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_isGestureSupported_type_TypeMismatch
-//==== LABEL Check if the method isGestureSupported of HumanActivityMonitorManager throws TypeMismatchError when invalid gestureType
-//==== PRIORITY P2
-//==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorManager:isGestureSupported M
-//==== SPEC_URL TBD
-//==== TEST_CRITERIA MC
-
-test(function () {
- var gestureType = "INVALID";
- assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
- tizen.humanactivitymonitor.isGestureSupported(gestureType);
- });
-}, document.title);
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2016 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:
- Hyukin Kwon <hyukin.kwon@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_removeActivityRecognitionListener</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/humanactivitymonitor_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_removeActivityRecognitionListener_STATIONARY
-//==== LABEL Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager returns proper value
-//==== SPEC Tizen Web API:Sensor:HumanActivityMonitor:HumanActivityMonitorManager:removeActivityRecognitionListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== EXECUTION_TYPE manual
-//==== STEP Press run button, then pretend walking with the device for 15 seconds
-//==== EXPECT Pass
-//==== TEST_CRITERIA MR MMINA
-//==== ONLOAD_DELAY 20
-
-setup({"timeout": 20000});
-
-var t = async_test(document.title, {"timeout": 20000}), returnedId = null, returnedValue = undefined, humanActivityType = "WALKING", listener;
-
-t.step(function () {
- listener = t.step_func(function (info) {
- assert_unreached("Callback should not be invoked after removeActivityRecognitionListener call");
- });
-
- returnedId = tizen.humanactivitymonitor.addActivityRecognitionListener(humanActivityType, listener);
- returnedValue = tizen.humanactivitymonitor.removeActivityRecognitionListener(returnedId);
- assert_equals(returnedValue, undefined, "Should return nothing");
- alert("Grab the device, and pretend walking for 15 seconds after pressing OK");
- setTimeout(function () {t.done();}, 15000);
-});
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2016 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:
- Hyukin Kwon <hyukin.kwon@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_removeActivityRecognitionListener_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/humanactivitymonitor_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_removeActivityRecognitionListener_exist
-//==== LABEL Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager exist
-//==== SPEC Tizen Web API:HumanActivityMonitor:HumanActivityMonitorManager:removeActivityRecognitionListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA ME
-
-test(function () {
- check_method_exists(tizen.humanactivitymonitor, "addActivityRecognitionListener");
-}, document.title);
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2016 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:
- Hyukin Kwon <hyukin.kwon@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_removeActivityRecognitionListener_invalid_id</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/humanactivitymonitor_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_removeActivityRecognitionListener_invalid_id
-//==== LABEL Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager ignores invalid id
-//==== SPEC Tizen Web API:HumanActivityMonitor:HumanActivityMonitorManager:removeActivityRecognitionListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-//==== ONLOAD_DELAY 3
-
-setup({"timeout": 3000});
-
-var t = async_test(document.title, {"timeout": 3000}), invalidId = 10000, errorCallback;
-
-t.step(function () {
- errorCallback = t.step_func(function (error) {
- assert_unreached("Error callback should not be invoked, but was invoked with the error " + error.name);
- });
-
- try {
- tizen.humanactivitymonitor.removeActivityRecognitionListener(invalidId, errorCallback);
- setTimeout(function () {t.done();}, 2000);
- } catch (error) {
- assert_unreached("Should not throw any error, but threw " + error.name);
- }
-});
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2016 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:
- Hyukin Kwon <hyukin.kwon@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_removeActivityRecognitionListener_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/humanactivitymonitor_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_removeActivityRecognitionListener_exist
-//==== LABEL Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager ignores invalid id when no param assigned (undefined converted to 0)
-//==== SPEC Tizen Web API:HumanActivityMonitor:HumanActivityMonitorManager:removeActivityRecognitionListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- try {
- tizen.humanactivitymonitor.removeActivityRecognitionListener();
- } catch (error) {
- assert_unreached("Should not throw any error, but threw " + error.name);
- }
-}, document.title);
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2016 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:
- Hyukin Kwon <hyukin.kwon@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_removeActivityRecognitionListener</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/humanactivitymonitor_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_removeActivityRecognitionListener_STATIONARY
-//==== LABEL Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager returns proper value with errorcallback assigned
-//==== SPEC Tizen Web API:Sensor:HumanActivityMonitor:HumanActivityMonitorManager:removeActivityRecognitionListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== EXECUTION_TYPE manual
-//==== STEP Press run button, then pretend walking with the device for 15 seconds
-//==== EXPECT Pass
-//==== TEST_CRITERIA MR MMINA CBT
-//==== ONLOAD_DELAY 20
-
-setup({"timeout": 20000});
-
-var t = async_test(document.title, {"timeout": 20000}), returnedId = null, returnedValue = undefined, humanActivityType = "WALKING", listener, errorCallback;
-
-t.step(function () {
- listener = t.step_func(function (info) {
- assert_unreached("Callback should not be invoked after removeActivityRecognitionListener call");
- });
-
- errorCallback = t.step_func(function (error) {
- assert_unreached("Error callback should not be invoked, but was invoked with the error " + error.name);
- });
-
- returnedId = tizen.humanactivitymonitor.addActivityRecognitionListener(humanActivityType, listener);
- returnedValue = tizen.humanactivitymonitor.removeActivityRecognitionListener(returnedId, errorCallback);
- assert_equals(returnedValue, undefined, "Should return nothing");
- alert("Grab the device, and pretend walking for 15 seconds after pressing OK");
- setTimeout(function () {t.done();}, 15000);
-});
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2016 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:
- Hyukin Kwon <hyukin.kwon@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_removeActivityRecognitionListener</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="support/humanactivitymonitor_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_removeActivityRecognitionListener_STATIONARY
-//==== LABEL Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager returns proper value with errorcallback null assigned
-//==== SPEC Tizen Web API:Sensor:HumanActivityMonitor:HumanActivityMonitorManager:removeActivityRecognitionListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== EXECUTION_TYPE manual
-//==== STEP Press run button, then pretend walking with the device for 15 seconds
-//==== EXPECT Pass
-//==== TEST_CRITERIA MR MMINA CBT
-//==== ONLOAD_DELAY 20
-
-setup({"timeout": 20000});
-
-var t = async_test(document.title, {"timeout": 20000}), returnedId = null, returnedValue = undefined, humanActivityType = "WALKING", listener;
-
-t.step(function () {
- listener = t.step_func(function (info) {
- assert_unreached("Callback should not be invoked after removeActivityRecognitionListener call");
- });
-
- returnedId = tizen.humanactivitymonitor.addActivityRecognitionListener(humanActivityType, listener);
- returnedValue = tizen.humanactivitymonitor.removeActivityRecognitionListener(returnedId, null);
- assert_equals(returnedValue, undefined, "Should return nothing");
- alert("Grab the device, and pretend walking for 15 seconds after pressing OK");
- setTimeout(function () {t.done();}, 15000);
-});
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_removeGestureRecognitionListener</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_removeGestureRecognitionListener
-//==== LABEL Check if method HumanActivityMonitorManager::removeGestureRecognitionListener() works properly
-//==== PRIORITY P1
-//==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorManager:removeGestureRecognitionListener M
-//==== SPEC_URL TBD
-//==== TEST_CRITERIA MR
-
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), returnedValue = null, watchID, listener, gestureType = "GESTURE_PICK_UP";
-
-t.step(function () {
- listener = t.step_func(function (data) {
- returnedValue = tizen.humanactivitymonitor.removeGestureRecognitionListener(watchID);
- assert_type(returnedValue, "undefined", "Return value is not undefined");
- t.done();
- });
-
- watchID = tizen.humanactivitymonitor.addGestureRecognitionListener(gestureType, listener);
-});
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2017 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:
- Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityMonitorManager_removeGestureRecognitionListener_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityMonitorManager_removeGestureRecognitionListener_exist
-//==== LABEL Check if removeGestureRecognitionListener exists
-//==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorManager:removeGestureRecognitionListener M
-//==== SPEC_URL TBD
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- assert_true("removeGestureRecognitionListener" in tizen.humanactivitymonitor, "HumanActivityMonitorManager should have removeGestureRecognitionListener method");
- check_method_exists(tizen.humanactivitymonitor, "removeGestureRecognitionListener");
-}, 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.
-
-Authors:
- Wei Zhang <wei625.zhang@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityRecognitionData_notexist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityRecognitionData_notexist
-//==== LABEL Check if interface HumanActivityRecognitionData exists, it should not
-//==== SPEC Tizen Web API:Sensor:HumanActivityMonitor:HumanActivityRecognitionData:HumanActivityRecognitionData U
-//==== SPEC_URL TBD
-//==== PRIORITY P3
-//==== TEST_CRITERIA NIO
-
-test(function () {
- check_no_interface_object("HumanActivityRecognitionData");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
</spec>
</specs>
</testcase>
- <testcase purpose="Check if interface HumanActivityRecognitionData exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivityRecognitionData_notexist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecognitionData_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivityRecognitionData" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check if interface HumanActivitySleepMonitorData exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivitySleepMonitorData_notexist">
<description>
<test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_notexist.html</test_script_entry>
</specs>
</testcase>
</set>
- <set name="HumanActivityMonitor_with_activity_recognition_mobile">
- <capabilities>
- <capability name="http://tizen.org/feature/profile"><value>MOBILE</value></capability>
- <capability name="http://tizen.org/feature/sensor.activity_recognition"/>
- </capabilities>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value" type="compliance" onload_delay="60" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_STATIONARY">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then keep the device stationary</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_STATIONARY.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value" type="compliance" onload_delay="60" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_WALKING">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button. Pretend walking with the device.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_WALKING.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when invalid type value is assigned for errorCallback parameter" type="compliance" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addActivityRecognitionListener_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_errorCallback_TypeMismatch .html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager exist" type="compliance" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_exist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when invalid value is assigned for type parameter" type="compliance" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addActivityRecognitionListener_type_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_listener_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when no param assigned" type="compliance" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addActivityRecognitionListener_misarg">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when invalid type value is assigned for listener parameter" type="compliance" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addActivityRecognitionListener_listener_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_type_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value with errorcallback assigned" type="compliance" onload_delay="60" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_with_errorCallback">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then keep the device stationary</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value with errorcallback null assigned" type="compliance" onload_delay="60" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_with_errorCallback_null">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then keep the device stationary</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_with_errorCallback_null.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager returns proper value" type="compliance" onload_delay="20" status="approved" component="Tizen Device APIs/TBD/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_removeActivityRecognitionListener_STATIONARY">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then pretend walking with the device for 15 seconds</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivityMonitorManager" element_type="method" element_name="removeActivityRecognitionListener" specification="HumanActivityMonitor" section="TBD" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager exist" type="compliance" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P1" id="HumanActivityMonitorManager_removeActivityRecognitionListener_exist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="removeActivityRecognitionListener" element_type="method" element_name="removeActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager ignores invalid id" type="compliance" onload_delay="3" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_removeActivityRecognitionListener_invalid_id">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener_invalid_id.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="removeActivityRecognitionListener" element_type="method" element_name="removeActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager ignores invalid id when no param assigned (undefined converted to 0)" type="compliance" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_removeActivityRecognitionListener_misarg">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="removeActivityRecognitionListener" element_type="method" element_name="removeActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager returns proper value with errorcallback assigned" type="compliance" onload_delay="20" status="approved" component="Tizen Device APIs/TBD/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_removeActivityRecognitionListener_STATIONARY">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then pretend walking with the device for 15 seconds</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivityMonitorManager" element_type="method" element_name="removeActivityRecognitionListener" specification="HumanActivityMonitor" section="TBD" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager returns proper value with errorcallback null assigned" type="compliance" onload_delay="20" status="approved" component="Tizen Device APIs/TBD/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_removeActivityRecognitionListener_STATIONARY">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then pretend walking with the device for 15 seconds</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener_with_errorCallback_null.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivityMonitorManager" element_type="method" element_name="removeActivityRecognitionListener" specification="HumanActivityMonitor" section="TBD" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- </set>
<set name="HumanActivityMonitor_with_pedometer_mobile">
<capabilities>
<capability name="http://tizen.org/feature/profile"><value>MOBILE</value></capability>
</description>
<specs>
<spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HumanActivityMonitorManager" element_type="method" element_name="getHumanActivityData" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</description>
<specs>
<spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HumanActivityMonitorManager" element_type="method" element_name="getHumanActivityData" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</description>
<specs>
<spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HumanActivityMonitorManager" element_type="method" element_name="getHumanActivityData" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
</set>
- <set name="HumanActivityMonitor_gesture_mobile" type="js">
+ <set name="HumanActivityMonitor_wearable" type="js">
<capabilities>
- <capability name="http://tizen.org/feature/profile"><value>MOBILE</value></capability>
- <capability name="http://tizen.org/feature/sensor.gesture_recognition"/>
+ <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+ <capability name="http://tizen.org/feature/humanactivitymonitor"/>
</capabilities>
- <testcase purpose="Check if interface isGestureSupported exists" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P0" id="HumanActivityMonitorManager_isGestureSupported_exist">
+ <testcase purpose="Check if interface HumanActivityData exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivityData_notexist">
<description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_isGestureSupported_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityData_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="isGestureSupported" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HumanActivityData" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method HumanActivityMonitorManager::isGestureSupported() works properly" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P1" id="HumanActivityMonitorManager_isGestureSupported">
+ <testcase purpose="Check if interface StepDifference exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="StepDifference_notexist">
<description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_isGestureSupported.html</test_script_entry>
+ <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/StepDifference_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="isGestureSupported" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="StepDifference" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if HumanActivityMonitorManager::isGestureSupported() called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_isGestureSupported_misarg">
+ <testcase purpose="Check if interface HumanActivityAccumulativePedometerData exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivityAccumulativePedometerData_notexist">
<description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_isGestureSupported_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityAccumulativePedometerData_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="isGestureSupported" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HumanActivityAccumulativePedometerData" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if the method isGestureSupported of HumanActivityMonitorManager throws TypeMismatchError when invalid gestureType" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_isGestureSupported_type_TypeMismatch">
+ <testcase purpose="Check if interface HumanActivityHRMData exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivityHRMData_notexist">
<description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_isGestureSupported_type_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityHRMData_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="isGestureSupported" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HumanActivityHRMData" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method HumanActivityMonitorManager::addGestureRecognitionListener() works properly" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addGestureRecognitionListener">
+ <testcase purpose="Check if interface HumanActivityGPSInfo exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivityGPSInfo_notexist">
<description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addGestureRecognitionListener" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HumanActivityGPSInfo" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if addGestureRecognitionListener exists" component="Tizen Device APIs/Sensor/HumanActivityMonitor" type="compliance" status="approved" execution_type="auto" priority="P0" id="HumanActivityMonitorManager_addGestureRecognitionListener_exist">
+ <testcase purpose="Check if interface HumanActivityGPSInfoArray exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivityGPSInfoArray_notexist">
<description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfoArray_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addGestureRecognitionListener" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HumanActivityGPSInfoArray" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if HumanActivityMonitorManager::addGestureRecognitionListener() method throws exception when listener is invalid" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addGestureRecognitionListener_listener_invalid_cb">
+ <testcase purpose="Check if interface HumanActivitySleepMonitorData exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivitySleepMonitorData_notexist">
<description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_listener_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addGestureRecognitionListener" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HumanActivitySleepMonitorData" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if HumanActivityMonitorManager::addGestureRecognitionListener() with incorrect listener argument throws exception" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addGestureRecognitionListener_listener_TypeMismatch">
+ <testcase purpose="Check if interface HumanActivityMonitorManagerObject exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivityMonitorManagerObject_notexist">
<description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_listener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManagerObject_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addGestureRecognitionListener" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HumanActivityMonitorManagerObject" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if HumanActivityMonitorManager::addGestureRecognitionListener() with incorrect errorCallback argument throws exception" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addGestureRecognitionListener_errorCallback_TypeMismatch">
+ <testcase purpose="Check if HumanActivityMonitorManager is extendable" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivityMonitorManager_extend">
<description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addGestureRecognitionListener" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HumanActivityMonitorManager" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if HumanActivityMonitorManager::addGestureRecognitionListener() called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addGestureRecognitionListener_misarg">
+ <testcase purpose="Check if HumanActivityMonitorManager::getHumanActivityData() method exists" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P0" id="HumanActivityMonitorManager_getHumanActivityData_exist">
<description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addGestureRecognitionListener" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HumanActivityMonitorManager" element_type="method" element_name="getHumanActivityData" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if the method addGestureRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when invalid gestureType value is assigned" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addGestureRecognitionListener_type_TypeMismatch">
+ <testcase purpose="Check if humanactivitymonitor exists in tizen" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivityMonitorManager_in_tizen">
<description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_type_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_in_tizen.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addGestureRecognitionListener" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HumanActivityMonitorManager" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method HumanActivityMonitorManager::addGestureRecognitionListener() works properly with alwaysOn assigned" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addGestureRecognitionListener_with_alwaysOn">
+ <testcase purpose="Check if interface HumanActivityMonitorManager exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivityMonitorManager_notexist">
<description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_with_alwaysOn.html</test_script_entry>
+ <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addGestureRecognitionListener" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HumanActivityMonitorManager" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method HumanActivityMonitorManager::addGestureRecognitionListener() works properly with errorCallback assigned" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addGestureRecognitionListener_with_errorCallback">
+ <testcase purpose="Check if method HumanActivityMonitorManager::start() exists" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P0" id="HumanActivityMonitorManager_start_exist">
<description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_start_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="addGestureRecognitionListener" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HumanActivityMonitorManager" element_type="method" element_name="start" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method HumanActivityMonitorManager::removeGestureRecognitionListener() works properly" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_removeGestureRecognitionListener">
+ <testcase purpose="Check if HumanActivityMonitorManager::start() throws exception when type and successCallback are missing" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_start_misarg">
<description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeGestureRecognitionListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_start_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeGestureRecognitionListener" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HumanActivityMonitorManager" element_type="method" element_name="start" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if removeGestureRecognitionListener exists" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P0" id="HumanActivityMonitorManager_removeGestureRecognitionListener_exist">
+ <testcase purpose="Check if HumanActivityMonitorManager::stop() method exists" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P0" id="HumanActivityMonitorManager_stop_exist">
<description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeGestureRecognitionListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stop_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="removeGestureRecognitionListener" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HumanActivityMonitorManager" element_type="method" element_name="stop" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if GestureData does not exist" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="GestureData_notexist">
+ <testcase purpose="Check if HumanActivityMonitorManager::stop() throws exception when type is missing" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_stop_misarg">
<description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stop_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="GestureData" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HumanActivityMonitorManager" element_type="method" element_name="stop" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if GestureData::type exists, has type string, and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="GestureData_type_attribute">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_type_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="GestureData" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if GestureData::event exists, has type string, and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="GestureData_event_attribute">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_event_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="GestureData" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if GestureData::timestamp exists, has type long, and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="GestureData_timestamp_attribute">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_timestamp_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="GestureData" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if GestureData::x exists, has type double, and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="GestureData_x_attribute">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then tilt device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_x_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="GestureData" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if GestureData::y exists, has type double, and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="GestureData_y_attribute">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then tilt device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_y_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="GestureData" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if GestureRecognitionCallback does not exist" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="GestureRecognitionCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureRecognitionCallback_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="GestureRecognitionCallback" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Test whether GestureRecognitionCallback::onsuccess() is called with argument of proper type" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="GestureRecognitionCallback_onsuccess">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureRecognitionCallback_onsuccess.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="GestureRecognitionCallback" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- </set>
- <set name="HumanActivityMonitor_wearable" type="js">
- <capabilities>
- <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
- <capability name="http://tizen.org/feature/humanactivitymonitor"/>
- </capabilities>
- <testcase purpose="Check if interface HumanActivityData exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivityData_notexist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityData_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivityData" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface StepDifference exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="StepDifference_notexist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/StepDifference_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="StepDifference" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface HumanActivityAccumulativePedometerData exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivityAccumulativePedometerData_notexist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityAccumulativePedometerData_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivityAccumulativePedometerData" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface HumanActivityHRMData exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivityHRMData_notexist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityHRMData_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivityHRMData" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface HumanActivityGPSInfo exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivityGPSInfo_notexist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivityGPSInfo" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface HumanActivityGPSInfoArray exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivityGPSInfoArray_notexist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfoArray_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivityGPSInfoArray" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface HumanActivityRecognitionData exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivityRecognitionData_notexist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecognitionData_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivityRecognitionData" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface HumanActivitySleepMonitorData exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivitySleepMonitorData_notexist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivitySleepMonitorData" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface HumanActivityMonitorManagerObject exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivityMonitorManagerObject_notexist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManagerObject_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivityMonitorManagerObject" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if HumanActivityMonitorManager is extendable" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivityMonitorManager_extend">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_extend.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivityMonitorManager" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if HumanActivityMonitorManager::getHumanActivityData() method exists" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P0" id="HumanActivityMonitorManager_getHumanActivityData_exist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivityMonitorManager" element_type="method" element_name="getHumanActivityData" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if humanactivitymonitor exists in tizen" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivityMonitorManager_in_tizen">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_in_tizen.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivityMonitorManager" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface HumanActivityMonitorManager exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivityMonitorManager_notexist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivityMonitorManager" usage="true" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method HumanActivityMonitorManager::start() exists" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P0" id="HumanActivityMonitorManager_start_exist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_start_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivityMonitorManager" element_type="method" element_name="start" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if HumanActivityMonitorManager::start() throws exception when type and successCallback are missing" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_start_misarg">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_start_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivityMonitorManager" element_type="method" element_name="start" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if HumanActivityMonitorManager::stop() method exists" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P0" id="HumanActivityMonitorManager_stop_exist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stop_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivityMonitorManager" element_type="method" element_name="stop" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if HumanActivityMonitorManager::stop() throws exception when type is missing" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_stop_misarg">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stop_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivityMonitorManager" element_type="method" element_name="stop" specification="HumanActivityMonitor" section="Sensor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if HumanActivityMonitorSuccessCallback does not exist" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivityMonitorSuccessCallback_notexist">
+ <testcase purpose="Check if HumanActivityMonitorSuccessCallback does not exist" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="HumanActivityMonitorSuccessCallback_notexist">
<description>
<test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorSuccessCallback_notexist.html</test_script_entry>
</description>
<pre_condition>Before run this tc, run HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html first, because we should wait at least 1 minute to get the recorded data after start recorder. But if you tested that TC already, you can run this TC now.</pre_condition>
<steps>
<step order="1">
- <step_desc>Waiting for 1 minutes for the callback.</step_desc>
- <expected>Pass should be shown in the page after 1 minutes.</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderPressureData_startTime_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivityRecorderPressureData" element_type="attribute" element_name="startTime" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- </set>
- <set name="HumanActivityMonitor_with_activity_recognition_wearable">
- <capabilities>
- <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
- <capability name="http://tizen.org/feature/sensor.activity_recognition"/>
- </capabilities>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value" type="compliance" onload_delay="60" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_STATIONARY">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then keep the device stationary</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_STATIONARY.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value" type="compliance" onload_delay="60" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_WALKING">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button. Pretend walking with the device.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_WALKING.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when invalid type value is assigned for errorCallback parameter" type="compliance" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addActivityRecognitionListener_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_errorCallback_TypeMismatch .html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager exist" type="compliance" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_exist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when invalid value is assigned for type parameter" type="compliance" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addActivityRecognitionListener_type_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_listener_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when no param assigned" type="compliance" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addActivityRecognitionListener_misarg">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when invalid type value is assigned for listener parameter" type="compliance" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addActivityRecognitionListener_listener_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_type_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value with errorcallback assigned" type="compliance" onload_delay="60" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_with_errorCallback">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then keep the device stationary</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value with errorcallback null assigned" type="compliance" onload_delay="60" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_with_errorCallback_null">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then keep the device stationary</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_with_errorCallback_null.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager returns proper value" type="compliance" onload_delay="20" status="approved" component="Tizen Device APIs/TBD/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_removeActivityRecognitionListener_STATIONARY">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then pretend walking with the device for 15 seconds</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivityMonitorManager" element_type="method" element_name="removeActivityRecognitionListener" specification="HumanActivityMonitor" section="TBD" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager exist" type="compliance" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P1" id="HumanActivityMonitorManager_removeActivityRecognitionListener_exist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="removeActivityRecognitionListener" element_type="method" element_name="removeActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager ignores invalid id" type="compliance" onload_delay="3" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_removeActivityRecognitionListener_invalid_id">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener_invalid_id.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="removeActivityRecognitionListener" element_type="method" element_name="removeActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager ignores invalid id when no param assigned (undefined converted to 0)" type="compliance" status="approved" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_removeActivityRecognitionListener_misarg">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="removeActivityRecognitionListener" element_type="method" element_name="removeActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager returns proper value with errorcallback assigned" type="compliance" onload_delay="20" status="approved" component="Tizen Device APIs/TBD/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_removeActivityRecognitionListener_STATIONARY">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then pretend walking with the device for 15 seconds</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="HumanActivityMonitorManager" element_type="method" element_name="removeActivityRecognitionListener" specification="HumanActivityMonitor" section="TBD" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager returns proper value with errorcallback null assigned" type="compliance" onload_delay="20" status="approved" component="Tizen Device APIs/TBD/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_removeActivityRecognitionListener_STATIONARY">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then pretend walking with the device for 15 seconds</step_desc>
- <expected>Pass</expected>
+ <step_desc>Waiting for 1 minutes for the callback.</step_desc>
+ <expected>Pass should be shown in the page after 1 minutes.</expected>
</step>
</steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener_with_errorCallback_null.html</test_script_entry>
+ <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderPressureData_startTime_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="HumanActivityMonitorManager" element_type="method" element_name="removeActivityRecognitionListener" specification="HumanActivityMonitor" section="TBD" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HumanActivityRecorderPressureData" element_type="attribute" element_name="startTime" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</description>
<specs>
<spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HumanActivityMonitorManager" element_type="method" element_name="getHumanActivityData" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</description>
<specs>
<spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HumanActivityMonitorManager" element_type="method" element_name="getHumanActivityData" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</description>
<specs>
<spec>
- <spec_assertion interface="addActivityRecognitionListener" element_type="method" element_name="addActivityRecognitionListener" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HumanActivityMonitorManager" element_type="method" element_name="getHumanActivityData" specification="HumanActivityMonitor" section="HumanActivityMonitor" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitormanager.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
</set>
- <set name="HumanActivityMonitor_gesture_wearable" type="js">
- <capabilities>
- <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
- <capability name="http://tizen.org/feature/sensor.gesture_recognition"/>
- </capabilities>
- <testcase purpose="Check if interface isGestureSupported exists" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P0" id="HumanActivityMonitorManager_isGestureSupported_exist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_isGestureSupported_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="isGestureSupported" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method HumanActivityMonitorManager::isGestureSupported() works properly" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P1" id="HumanActivityMonitorManager_isGestureSupported">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_isGestureSupported.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="isGestureSupported" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if HumanActivityMonitorManager::isGestureSupported() called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_isGestureSupported_misarg">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_isGestureSupported_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="isGestureSupported" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method isGestureSupported of HumanActivityMonitorManager throws TypeMismatchError when invalid gestureType" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_isGestureSupported_type_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_isGestureSupported_type_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="isGestureSupported" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method HumanActivityMonitorManager::addGestureRecognitionListener() works properly" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addGestureRecognitionListener">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addGestureRecognitionListener" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if addGestureRecognitionListener exists" component="Tizen Device APIs/Sensor/HumanActivityMonitor" type="compliance" status="approved" execution_type="auto" priority="P0" id="HumanActivityMonitorManager_addGestureRecognitionListener_exist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addGestureRecognitionListener" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if HumanActivityMonitorManager::addGestureRecognitionListener() method throws exception when listener is invalid" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addGestureRecognitionListener_listener_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_listener_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addGestureRecognitionListener" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if HumanActivityMonitorManager::addGestureRecognitionListener() with incorrect listener argument throws exception" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addGestureRecognitionListener_listener_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_listener_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addGestureRecognitionListener" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if HumanActivityMonitorManager::addGestureRecognitionListener() with incorrect errorCallback argument throws exception" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addGestureRecognitionListener_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addGestureRecognitionListener" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if HumanActivityMonitorManager::addGestureRecognitionListener() called with missing non-optional argument throws an exception" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addGestureRecognitionListener_misarg">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addGestureRecognitionListener" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the method addGestureRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when invalid gestureType value is assigned" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addGestureRecognitionListener_type_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_type_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addGestureRecognitionListener" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method HumanActivityMonitorManager::addGestureRecognitionListener() works properly with alwaysOn assigned" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addGestureRecognitionListener_with_alwaysOn">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_with_alwaysOn.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addGestureRecognitionListener" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method HumanActivityMonitorManager::addGestureRecognitionListener() works properly with errorCallback assigned" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addGestureRecognitionListener_with_errorCallback">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="addGestureRecognitionListener" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method HumanActivityMonitorManager::removeGestureRecognitionListener() works properly" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_removeGestureRecognitionListener">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeGestureRecognitionListener.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="removeGestureRecognitionListener" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if removeGestureRecognitionListener exists" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P0" id="HumanActivityMonitorManager_removeGestureRecognitionListener_exist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeGestureRecognitionListener_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="removeGestureRecognitionListener" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if GestureData does not exist" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="GestureData_notexist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="GestureData" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if GestureData::type exists, has type string, and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="GestureData_type_attribute">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_type_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="GestureData" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if GestureData::event exists, has type string, and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="GestureData_event_attribute">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_event_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="GestureData" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if GestureData::timestamp exists, has type long, and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="GestureData_timestamp_attribute">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_timestamp_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="GestureData" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if GestureData::x exists, has type double, and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="GestureData_x_attribute">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then tilt device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_x_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="GestureData" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if GestureData::y exists, has type double, and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="GestureData_y_attribute">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then tilt device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_y_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="GestureData" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if GestureRecognitionCallback does not exist" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" priority="P3" id="GestureRecognitionCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureRecognitionCallback_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="GestureRecognitionCallback" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Test whether GestureRecognitionCallback::onsuccess() is called with argument of proper type" type="compliance" status="approved" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="GestureRecognitionCallback_onsuccess">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureRecognitionCallback_onsuccess.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="GestureRecognitionCallback" usage="true" specification="HumanActivityMonitor" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/humanactivitymonitor.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- </set>
</suite>
</test_definition>
<test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfoArray_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityRecognitionData_notexist" priority="P3" purpose="Check if interface HumanActivityRecognitionData exists, it should not">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecognitionData_notexist.html</test_script_entry>
- </description>
- </testcase>
<testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivitySleepMonitorData_notexist" priority="P3" purpose="Check if interface HumanActivitySleepMonitorData exists, it should not">
<description>
<test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_notexist.html</test_script_entry>
</description>
</testcase>
</set>
- <set name="HumanActivityMonitor_with_activity_recognition_mobile">
- <capabilities>
- <capability name="http://tizen.org/feature/profile"><value>MOBILE</value></capability>
- <capability name="http://tizen.org/feature/sensor.activity_recognition"/>
- </capabilities>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value" onload_delay="60" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_STATIONARY">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then keep the device stationary</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_STATIONARY.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value" onload_delay="300" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_WALKING">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button. Pretend walking with the device more than 3 minutes.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_WALKING.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when invalid type value is assigned for errorCallback parameter" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addActivityRecognitionListener_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager exist" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_exist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when invalid value is assigned for type parameter" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addActivityRecognitionListener_type_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_listener_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when no param assigned" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addActivityRecognitionListener_misarg">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when invalid type value is assigned for listener parameter" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addActivityRecognitionListener_listener_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_type_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value with errorcallback assigned" onload_delay="60" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_with_errorCallback">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then keep the device stationary</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_with_errorCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value with errorcallback null assigned" onload_delay="60" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_with_errorCallback_null">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then keep the device stationary</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_with_errorCallback_null.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager returns proper value" onload_delay="20" component="Tizen Device APIs/TBD/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_removeActivityRecognitionListener_STATIONARY">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then pretend walking with the device for 15 seconds</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager exist" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P1" id="HumanActivityMonitorManager_removeActivityRecognitionListener_exist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager ignores invalid id" onload_delay="3" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_removeActivityRecognitionListener_invalid_id">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener_invalid_id.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager ignores invalid id when no param assigned (undefined converted to 0)" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_removeActivityRecognitionListener_misarg">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager returns proper value with errorcallback assigned" onload_delay="20" component="Tizen Device APIs/TBD/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_removeActivityRecognitionListener_STATIONARY">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then pretend walking with the device for 15 seconds</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener_with_errorCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager returns proper value with errorcallback null assigned" onload_delay="20" component="Tizen Device APIs/TBD/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_removeActivityRecognitionListener_STATIONARY">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then pretend walking with the device for 15 seconds</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener_with_errorCallback_null.html</test_script_entry>
- </description>
- </testcase>
- </set>
<set name="HumanActivityMonitor_with_pedometer_mobile">
<capabilities>
<capability name="http://tizen.org/feature/profile"><value>MOBILE</value></capability>
</description>
</testcase>
</set>
- <set name="HumanActivityMonitor_gesture_mobile" type="js">
- <capabilities>
- <capability name="http://tizen.org/feature/profile"><value>MOBILE</value></capability>
- <capability name="http://tizen.org/feature/sensor.gesture_recognition"/>
- </capabilities>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_isGestureSupported_exist" priority="P0" purpose="Check if isGestureSupported exists">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_isGestureSupported_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_isGestureSupported" priority="P1" purpose="Check if method HumanActivityMonitorManager::isGestureSupported() works properly">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_isGestureSupported.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_isGestureSupported_misarg" priority="P2" purpose="Check if HumanActivityMonitorManager::isGestureSupported() called with missing non-optional argument throws an exception">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_isGestureSupported_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_isGestureSupported_type_TypeMismatch" priority="P2" purpose="Check if the method isGestureSupported of HumanActivityMonitorManager throws TypeMismatchError when invalid gestureType">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_isGestureSupported_type_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="HumanActivityMonitorManager_addGestureRecognitionListener" priority="P1" purpose="Check if method HumanActivityMonitorManager::addGestureRecognitionListener() works properly">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_addGestureRecognitionListener_exist" priority="P0" purpose="Check if addGestureRecognitionListener exists">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_addGestureRecognitionListener_listener_invalid_cb" priority="P2" purpose="Check if HumanActivityMonitorManager::addGestureRecognitionListener() method throws exception when listener is invalid">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_listener_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_addGestureRecognitionListener_listener_TypeMismatch" priority="P2" purpose="Check if HumanActivityMonitorManager::addGestureRecognitionListener() with incorrect listener argument throws exception">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_listener_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_addGestureRecognitionListener_errorCallback_TypeMismatch" priority="P2" purpose="Check if HumanActivityMonitorManager::addGestureRecognitionListener() with incorrect errorCallback argument throws exception">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_addGestureRecognitionListener_misarg" priority="P2" purpose="Check if HumanActivityMonitorManager::addGestureRecognitionListener() called with missing non-optional argument throws an exception">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_addGestureRecognitionListener_type_TypeMismatch" priority="P2" purpose="Check if the method addGestureRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when invalid gestureType value is assigned">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_type_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="HumanActivityMonitorManager_addGestureRecognitionListener_with_alwaysOn" priority="P1" purpose="Check if method HumanActivityMonitorManager::addGestureRecognitionListener() works properly with alwaysOn assigned">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_with_alwaysOn.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="HumanActivityMonitorManager_addGestureRecognitionListener_with_errorCallback" priority="P1" purpose="Check if method HumanActivityMonitorManager::addGestureRecognitionListener() works properly with errorCallback assigned">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_with_errorCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="HumanActivityMonitorManager_removeGestureRecognitionListener" priority="P1" purpose="Check if method HumanActivityMonitorManager::removeGestureRecognitionListener() works properly">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeGestureRecognitionListener.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_removeGestureRecognitionListener_exist" priority="P0" purpose="Check if removeGestureRecognitionListener exists">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeGestureRecognitionListener_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="GestureData_notexist" priority="P3" purpose="Check if GestureData does not exist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="GestureData_type_attribute" priority="P1" purpose="Check if GestureData::type exists, has type string, and is readonly">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_type_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="GestureData_event_attribute" priority="P1" purpose="Check if GestureData::event exists, has type string, and is readonly">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_event_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="GestureData_timestamp_attribute" priority="P1" purpose="Check if GestureData::timestamp exists, has type long, and is readonly">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_timestamp_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="GestureData_x_attribute" priority="P1" purpose="Check if GestureData::x exists, has type double, and is readonly">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_x_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="GestureData_y_attribute" priority="P1" purpose="Check if GestureData::y exists, has type double, and is readonly">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_y_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="GestureRecognitionCallback_notexist" priority="P3" purpose="Check if GestureRecognitionCallback does not exist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureRecognitionCallback_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="GestureRecognitionCallback_onsuccess" priority="P1" purpose="Test whether GestureRecognitionCallback::onsuccess() is called with argument of proper type">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureRecognitionCallback_onsuccess.html</test_script_entry>
- </description>
- </testcase>
- </set>
<set name="HumanActivityMonitor_with_sleep_detector_mobile" type="js">
<capabilities>
<capability name="http://tizen.org/feature/profile"><value>MOBILE</value></capability>
<test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfoArray_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityRecognitionData_notexist" priority="P3" purpose="Check if interface HumanActivityRecognitionData exists, it should not">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecognitionData_notexist.html</test_script_entry>
- </description>
- </testcase>
<testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivitySleepMonitorData_notexist" priority="P3" purpose="Check if interface HumanActivitySleepMonitorData exists, it should not">
<description>
<test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_notexist.html</test_script_entry>
</description>
</testcase>
</set>
- <set name="HumanActivityMonitor_with_activity_recognition_wearable">
- <capabilities>
- <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
- <capability name="http://tizen.org/feature/sensor.activity_recognition"/>
- </capabilities>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value" onload_delay="60" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_STATIONARY">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then keep the device stationary</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_STATIONARY.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value" onload_delay="300" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_WALKING">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button. Pretend walking with the device more than 3 minutes.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_WALKING.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when invalid type value is assigned for errorCallback parameter" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addActivityRecognitionListener_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager exist" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_exist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when invalid value is assigned for type parameter" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addActivityRecognitionListener_type_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_listener_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when no param assigned" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addActivityRecognitionListener_misarg">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when invalid type value is assigned for listener parameter" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_addActivityRecognitionListener_listener_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_type_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value with errorcallback assigned" onload_delay="60" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_with_errorCallback">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then keep the device stationary</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_with_errorCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value with errorcallback null assigned" onload_delay="60" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_with_errorCallback_null">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then keep the device stationary</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_with_errorCallback_null.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager returns proper value" onload_delay="20" component="Tizen Device APIs/TBD/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_removeActivityRecognitionListener_STATIONARY">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then pretend walking with the device for 15 seconds</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager exist" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P1" id="HumanActivityMonitorManager_removeActivityRecognitionListener_exist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager ignores invalid id" onload_delay="3" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_removeActivityRecognitionListener_invalid_id">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener_invalid_id.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager ignores invalid id when no param assigned (undefined converted to 0)" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="auto" priority="P2" id="HumanActivityMonitorManager_removeActivityRecognitionListener_misarg">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager returns proper value with errorcallback assigned" onload_delay="20" component="Tizen Device APIs/TBD/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_removeActivityRecognitionListener_STATIONARY">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then pretend walking with the device for 15 seconds</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener_with_errorCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if the method removeActivityRecognitionListener of HumanActivityMonitorManager returns proper value with errorcallback null assigned" onload_delay="20" component="Tizen Device APIs/TBD/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_removeActivityRecognitionListener_STATIONARY">
- <description>
- <steps>
- <step order="1">
- <step_desc>Press run button, then pretend walking with the device for 15 seconds</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeActivityRecognitionListener_with_errorCallback_null.html</test_script_entry>
- </description>
- </testcase>
- </set>
<set name="HumanActivityMonitor_with_pedometer_wearable">
<capabilities>
<capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
</description>
</testcase>
</set>
- <set name="HumanActivityMonitor_gesture_wearable" type="js">
- <capabilities>
- <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
- <capability name="http://tizen.org/feature/sensor.gesture_recognition"/>
- </capabilities>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_isGestureSupported_exist" priority="P0" purpose="Check if isGestureSupported exists">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_isGestureSupported_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_isGestureSupported" priority="P1" purpose="Check if method HumanActivityMonitorManager::isGestureSupported() works properly">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_isGestureSupported.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_isGestureSupported_misarg" priority="P2" purpose="Check if HumanActivityMonitorManager::isGestureSupported() called with missing non-optional argument throws an exception">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_isGestureSupported_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_isGestureSupported_type_TypeMismatch" priority="P2" purpose="Check if the method isGestureSupported of HumanActivityMonitorManager throws TypeMismatchError when invalid gestureType">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_isGestureSupported_type_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="HumanActivityMonitorManager_addGestureRecognitionListener" priority="P1" purpose="Check if method HumanActivityMonitorManager::addGestureRecognitionListener() works properly">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_addGestureRecognitionListener_exist" priority="P0" purpose="Check if addGestureRecognitionListener exists">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_addGestureRecognitionListener_listener_invalid_cb" priority="P2" purpose="Check if HumanActivityMonitorManager::addGestureRecognitionListener() method throws exception when listener is invalid">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_listener_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_addGestureRecognitionListener_listener_TypeMismatch" priority="P2" purpose="Check if HumanActivityMonitorManager::addGestureRecognitionListener() with incorrect listener argument throws exception">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_listener_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_addGestureRecognitionListener_errorCallback_TypeMismatch" priority="P2" purpose="Check if HumanActivityMonitorManager::addGestureRecognitionListener() with incorrect errorCallback argument throws exception">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_addGestureRecognitionListener_misarg" priority="P2" purpose="Check if HumanActivityMonitorManager::addGestureRecognitionListener() called with missing non-optional argument throws an exception">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_addGestureRecognitionListener_type_TypeMismatch" priority="P2" purpose="Check if the method addGestureRecognitionListener of HumanActivityMonitorManager throws TypeMismatchError when invalid gestureType value is assigned">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_type_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="HumanActivityMonitorManager_addGestureRecognitionListener_with_alwaysOn" priority="P1" purpose="Check if method HumanActivityMonitorManager::addGestureRecognitionListener() works properly with alwaysOn assigned">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_with_alwaysOn.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="HumanActivityMonitorManager_addGestureRecognitionListener_with_errorCallback" priority="P1" purpose="Check if method HumanActivityMonitorManager::addGestureRecognitionListener() works properly with errorCallback assigned">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addGestureRecognitionListener_with_errorCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="HumanActivityMonitorManager_removeGestureRecognitionListener" priority="P1" purpose="Check if method HumanActivityMonitorManager::removeGestureRecognitionListener() works properly">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeGestureRecognitionListener.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_removeGestureRecognitionListener_exist" priority="P0" purpose="Check if removeGestureRecognitionListener exists">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_removeGestureRecognitionListener_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="GestureData_notexist" priority="P3" purpose="Check if GestureData does not exist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="GestureData_type_attribute" priority="P1" purpose="Check if GestureData::type exists, has type string, and is readonly">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_type_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="GestureData_event_attribute" priority="P1" purpose="Check if GestureData::event exists, has type string, and is readonly">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_event_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="GestureData_timestamp_attribute" priority="P1" purpose="Check if GestureData::timestamp exists, has type long, and is readonly">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_timestamp_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="GestureData_x_attribute" priority="P1" purpose="Check if GestureData::x exists, has type double, and is readonly">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_x_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="GestureData_y_attribute" priority="P1" purpose="Check if GestureData::y exists, has type double, and is readonly">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureData_y_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="GestureRecognitionCallback_notexist" priority="P3" purpose="Check if GestureRecognitionCallback does not exist">
- <description>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureRecognitionCallback_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="GestureRecognitionCallback_onsuccess" priority="P1" purpose="Test whether GestureRecognitionCallback::onsuccess() is called with argument of proper type">
- <description>
- <steps>
- <step order="1">
- <step_desc>Click Run button, and then pick up device</step_desc>
- <expected>Pass should be shown in the page</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/GestureRecognitionCallback_onsuccess.html</test_script_entry>
- </description>
- </testcase>
- </set>
<set name="HumanActivityMonitor_with_sleep_detector_wearable" type="js">
<capabilities>
<capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>