From: yuanzhongyuan Date: Tue, 4 Jul 2017 07:41:32 +0000 (+0800) Subject: [common][humanactivitymonitor][sync the latest tcs from 2.3.2] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=35a861be94985b07042c0d4ed53b889eab44c74a;p=test%2Ftct%2Fweb%2Fapi.git [common][humanactivitymonitor][sync the latest tcs from 2.3.2] Change-Id: I27b0784a1348eaaac75f4a91614450baeff8baec --- diff --git a/common/tct-humanactivitymonitor-tizen-tests/config.xml b/common/tct-humanactivitymonitor-tizen-tests/config.xml index 331c850c2..3b0d3e95e 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/config.xml +++ b/common/tct-humanactivitymonitor-tizen-tests/config.xml @@ -3,6 +3,14 @@ tct-humanactivitymonitor-tizen-tests + + + + + + + + diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_altitude_attribute.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_altitude_attribute.html index 8f3b29b2e..699793e8b 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_altitude_attribute.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_altitude_attribute.html @@ -49,13 +49,13 @@ t.step(function () { assert_unreached("getHumanActivityDataError is called" + error.name); }); - getHumanActivityDataSuccess = t.step_func(function (gpsInfo) { - check_readonly(gpsInfo, "altitude", gpsInfo.altitude, "double", gpsInfo.altitude + 10); + getHumanActivityDataSuccess = t.step_func(function (data) { + var gpsInfo = data.gpsInfo; + check_readonly(gpsInfo[0], "altitude", gpsInfo[0].altitude, "double", gpsInfo[0].altitude + 10); t.done(); }); - tizen.humanactivitymonitor.start(humanActivityType); - tizen.humanactivitymonitor.getHumanActivityData(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError); + tizen.humanactivitymonitor.start(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError); }); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_errorRange_attribute.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_errorRange_attribute.html index 5944bb7a2..6de27ee42 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_errorRange_attribute.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_errorRange_attribute.html @@ -49,13 +49,13 @@ t.step(function () { assert_unreached("getHumanActivityDataError is called" + error.name); }); - getHumanActivityDataSuccess = t.step_func(function (gpsInfo) { - check_readonly(gpsInfo, "errorRange", gpsInfo.errorRange, "long", gpsInfo.errorRange + 10); + getHumanActivityDataSuccess = t.step_func(function (data) { + var gpsInfo = data.gpsInfo; + check_readonly(gpsInfo[0], "errorRange", gpsInfo[0].errorRange, "long", gpsInfo[0].errorRange + 10); t.done(); }); - tizen.humanactivitymonitor.start(humanActivityType); - tizen.humanactivitymonitor.getHumanActivityData(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError); + tizen.humanactivitymonitor.start(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError); }); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_latitude_attribute.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_latitude_attribute.html index 66fc4648a..31388f6dd 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_latitude_attribute.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_latitude_attribute.html @@ -49,13 +49,13 @@ t.step(function () { assert_unreached("getHumanActivityDataError is called" + error.name); }); - getHumanActivityDataSuccess = t.step_func(function (gpsInfo) { - check_readonly(gpsInfo, "latitude", gpsInfo.latitude, "double", gpsInfo.latitude + 10); + getHumanActivityDataSuccess = t.step_func(function (data) { + var gpsInfo = data.gpsInfo; + check_readonly(gpsInfo[0], "latitude", gpsInfo[0].latitude, "double", gpsInfo[0].latitude + 10); t.done(); }); - tizen.humanactivitymonitor.start(humanActivityType); - tizen.humanactivitymonitor.getHumanActivityData(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError); + tizen.humanactivitymonitor.start(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError); }); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_longitude_attribute.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_longitude_attribute.html index 7cc37b8da..0d079d2db 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_longitude_attribute.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_longitude_attribute.html @@ -49,13 +49,13 @@ t.step(function () { assert_unreached("getHumanActivityDataError is called" + error.name); }); - getHumanActivityDataSuccess = t.step_func(function (gpsInfo) { - check_readonly(gpsInfo, "longitude", gpsInfo.longitude, "double", gpsInfo.longitude + 10); + getHumanActivityDataSuccess = t.step_func(function (data) { + var gpsInfo = data.gpsInfo; + check_readonly(gpsInfo[0], "longitude", gpsInfo[0].longitude, "double", gpsInfo[0].longitude + 10); t.done(); }); - tizen.humanactivitymonitor.start(humanActivityType); - tizen.humanactivitymonitor.getHumanActivityData(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError); + tizen.humanactivitymonitor.start(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError); }); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_speed_attribute.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_speed_attribute.html index 067984a2c..e980ab490 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_speed_attribute.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_speed_attribute.html @@ -49,13 +49,13 @@ t.step(function () { assert_unreached("getHumanActivityDataError is called" + error.name); }); - getHumanActivityDataSuccess = t.step_func(function (gpsInfo) { - check_readonly(gpsInfo, "speed", gpsInfo.speed, "double", gpsInfo.speed + 10); + getHumanActivityDataSuccess = t.step_func(function (data) { + var gpsInfo = data.gpsInfo; + check_readonly(gpsInfo[0], "speed", gpsInfo[0].speed, "double", gpsInfo[0].speed + 10); t.done(); }); - tizen.humanactivitymonitor.start(humanActivityType); - tizen.humanactivitymonitor.getHumanActivityData(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError); + tizen.humanactivitymonitor.start(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError); }); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_timestamp_attribute.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_timestamp_attribute.html index f34df320d..01df2faf6 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_timestamp_attribute.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_timestamp_attribute.html @@ -49,13 +49,13 @@ t.step(function () { assert_unreached("getHumanActivityDataError is called" + error.name); }); - getHumanActivityDataSuccess = t.step_func(function (gpsInfo) { - check_readonly(gpsInfo, "timestamp", gpsInfo.timestamp, "long", gpsInfo.timestamp + 10); + getHumanActivityDataSuccess = t.step_func(function (data) { + var gpsInfo = data.gpsInfo; + check_readonly(gpsInfo[0], "timestamp", gpsInfo[0].timestamp, "long", gpsInfo[0].timestamp + 10); t.done(); }); - tizen.humanactivitymonitor.start(humanActivityType); - tizen.humanactivitymonitor.getHumanActivityData(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError); + tizen.humanactivitymonitor.start(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError); }); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_STATIONARY.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_STATIONARY.html index 9ae938ed0..c701787a6 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_STATIONARY.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_STATIONARY.html @@ -37,11 +37,11 @@ Authors: //==== STEP Press run button, then keep the device stationary //==== EXPECT Pass //==== TEST_CRITERIA MR MMINA CBT -//==== ONLOAD_DELAY 60 +//==== ONLOAD_DELAY 120 -setup({"timeout": 60000}); +setup({"timeout": 120000}); -var t = async_test(document.title, {"timeout": 60000}), returnedValue = null, humanActivityType = "STATIONARY", listener; +var t = async_test(document.title, {"timeout": 120000}), returnedValue = null, humanActivityType = "STATIONARY", listener; t.step(function () { add_result_callback(function () { diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_NotSupportedError.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_NotSupportedError.html index 201048efa..e54fe7930 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_NotSupportedError.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_NotSupportedError.html @@ -48,7 +48,7 @@ t.step(function () { assert_unreached("success callback should not be invoked"); }); - if (!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.pedometer")) { + /*if (!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.pedometer")) { assert_throws(NOT_SUPPORTED_EXCEPTION, function () { tizen.humanactivitymonitor.readRecorderData("PEDOMETER", query, successCallback); }, "NotSupportedError exception should throw"); @@ -62,7 +62,7 @@ t.step(function () { assert_throws(NOT_SUPPORTED_EXCEPTION, function () { tizen.humanactivitymonitor.readRecorderData("SLEEP_MONITOR", query, successCallback); }, "NotSupportedError exception should throw"); - } + }*/ if (!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.barometer")) { assert_throws(NOT_SUPPORTED_EXCEPTION, function () { tizen.humanactivitymonitor.readRecorderData("PRESSURE", query, successCallback); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_errorCallback_TypeMismatch.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_errorCallback_TypeMismatch.html index bb0959194..0fffdd9ef 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_errorCallback_TypeMismatch.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_errorCallback_TypeMismatch.html @@ -57,7 +57,7 @@ t.step(function () { exceptionName = conversionTable[i][1]; assert_throws({name: exceptionName}, function () { - tizen.humanactivitymonitor.readRecorderData("PEDOMETER", query, successCallback, errorCallback); + tizen.humanactivitymonitor.readRecorderData("PRESSURE", query, successCallback, errorCallback); }, "Given incorrect error callback."); } diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_errorCallback_invalid_cb.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_errorCallback_invalid_cb.html index 964a63b83..e9bf9649f 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_errorCallback_invalid_cb.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_errorCallback_invalid_cb.html @@ -56,7 +56,7 @@ t.step(function () { assert_throws(TYPE_MISMATCH_EXCEPTION, function () { - tizen.humanactivitymonitor.readRecorderData("PEDOMETER", query, successCallback, incorrectCallback); + tizen.humanactivitymonitor.readRecorderData("PRESSURE", query, successCallback, incorrectCallback); }, "Given invalid successCallback."); t.done(); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_query_TypeMismatch.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_query_TypeMismatch.html index 0f7bd3819..8d646fc2b 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_query_TypeMismatch.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_query_TypeMismatch.html @@ -61,7 +61,7 @@ t.step(function () { exceptionName = conversionTable[i][1]; assert_throws({name: exceptionName}, function () { - tizen.humanactivitymonitor.readRecorderData("PEDOMETER", query, successCallback, errorCallback); + tizen.humanactivitymonitor.readRecorderData("PRESSURE", query, successCallback, errorCallback); }, "Given incorrect query callback."); } diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_query_empty.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_query_empty.html index 204698020..6d19ceac2 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_query_empty.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_query_empty.html @@ -33,8 +33,8 @@ Authors: //==== SPEC_URL TBD //==== PRIORITY P1 //==== EXECUTION_TYPE manual -//==== STEP Press run button. Pretend walking with the device. -//==== EXPECT Pass +//==== STEP Waiting for 1 minutes for the callback. +//==== EXPECT Pass should be shown in the page after 1 minutes. //==== TEST_CRITERIA MTD //==== ONLOAD_DELAY 60 @@ -45,7 +45,7 @@ var t = async_test(document.title, {timeout: 90000}), retValue = null, successCa t.step(function () { add_result_callback(function () { - tizen.humanactivitymonitor.stopRecorder("PEDOMETER"); + tizen.humanactivitymonitor.stopRecorder("PRESSURE"); }); successCallback = t.step_func(function (humanactivitydata) { @@ -53,9 +53,9 @@ t.step(function () { t.done(); }); - tizen.humanactivitymonitor.startRecorder("PEDOMETER"); - setTimeout(function(){tizen.humanactivitymonitor.stopRecorder("PEDOMETER"); - retValue = tizen.humanactivitymonitor.readRecorderData("PEDOMETER", {}, successCallback);}, 60000); + tizen.humanactivitymonitor.startRecorder("PRESSURE"); + setTimeout(function(){tizen.humanactivitymonitor.stopRecorder("PRESSURE"); + retValue = tizen.humanactivitymonitor.readRecorderData("PRESSURE", {}, successCallback);}, 60000); }); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_successCallback_TypeMismatch.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_successCallback_TypeMismatch.html index 3391e1a0c..ab78a2172 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_successCallback_TypeMismatch.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_successCallback_TypeMismatch.html @@ -57,7 +57,7 @@ t.step(function () { exceptionName = conversionTable[i][1]; assert_throws({name: exceptionName}, function () { - tizen.humanactivitymonitor.readRecorderData("PEDOMETER", query, successCallback, errorCallback); + tizen.humanactivitymonitor.readRecorderData("PRESSURE", query, successCallback, errorCallback); }, "Given incorrect success callback."); } diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_successCallback_invalid_cb.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_successCallback_invalid_cb.html index baeaa44e8..ef44f3e85 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_successCallback_invalid_cb.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_successCallback_invalid_cb.html @@ -50,7 +50,7 @@ test(function () { assert_throws(TYPE_MISMATCH_EXCEPTION, function () { - tizen.humanactivitymonitor.readRecorderData("PEDOMETER", query, incorrectCallback); + tizen.humanactivitymonitor.readRecorderData("PRESSURE", query, incorrectCallback); }, "Given invalid successCallback."); }, document.title); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_HRM.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_HRM.html index ff5d0d2ed..4d6ecb760 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_HRM.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_HRM.html @@ -32,6 +32,9 @@ Authors: //==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorManager:readRecorderData M //==== SPEC_URL TBD //==== PRIORITY P1 +//==== EXECUTION_TYPE manual +//==== STEP Press run button. Waiting for 10 minutes for the callback.. +//==== EXPECT Pass //==== TEST_CRITERIA MR MMINA setup({timeout: 1500000}); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html index 934d78613..0b4bec213 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html @@ -32,7 +32,11 @@ Authors: //==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorManager:readRecorderData M //==== SPEC_URL TBD //==== PRIORITY P1 +//==== EXECUTION_TYPE manual +//==== STEP Waiting for 1 minutes for the callback. +//==== EXPECT Pass should be shown in the page after 1 minutes. //==== TEST_CRITERIA MR MMINA +//==== ONLOAD_DELAY 60 setup({timeout: 150000}); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_SLEEP_MONITOR.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_SLEEP_MONITOR.html index c801e6bf8..ad52d2aa1 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_SLEEP_MONITOR.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_SLEEP_MONITOR.html @@ -32,11 +32,14 @@ Authors: //==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorManager:readRecorderData M //==== SPEC_URL TBD //==== PRIORITY P1 +//==== EXECUTION_TYPE manual +//==== STEP Press run button. Waiting for 20 minutes for the callback without touching the device. +//==== EXPECT Pass //==== TEST_CRITERIA MR MMINA -setup({timeout: 30000}); +setup({timeout: 1500000}); -var t = async_test(document.title, {timeout: 30000}), retValue = null, successCallback, date = new Date(), endTime = date.getTime(), startTime = date.setDate(date.getDate() - 1), +var t = async_test(document.title, {timeout: 1500000}), retValue = null, successCallback, date = new Date(), startTime = date.getTime(), endTime = date.setDate(date.getDate() + 1), query = { startTime: startTime/1000, endTime: endTime/1000, @@ -55,7 +58,7 @@ t.step(function () { tizen.humanactivitymonitor.startRecorder("SLEEP_MONITOR"); setTimeout(function(){tizen.humanactivitymonitor.stopRecorder("SLEEP_MONITOR"); - retValue = tizen.humanactivitymonitor.readRecorderData("SLEEP_MONITOR", query, successCallback);}, 100); + retValue = tizen.humanactivitymonitor.readRecorderData("SLEEP_MONITOR", query, successCallback);}, 1300000); }); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_with_errorCallback.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_with_errorCallback.html index 935702ab4..9e19ba18e 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_with_errorCallback.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_with_errorCallback.html @@ -32,7 +32,11 @@ Authors: //==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorManager:readRecorderData M //==== SPEC_URL TBD //==== PRIORITY P1 +//==== EXECUTION_TYPE manual +//==== STEP Waiting for 1 minutes for the callback. +//==== EXPECT Pass should be shown in the page after 1 minutes. //==== TEST_CRITERIA MR MOA +//==== ONLOAD_DELAY 60 setup({timeout: 120000}); @@ -45,7 +49,7 @@ var t = async_test(document.title, {timeout: 120000}), retValue = null, successC t.step(function () { add_result_callback(function () { - tizen.humanactivitymonitor.stopRecorder("PEDOMETER"); + tizen.humanactivitymonitor.stopRecorder("PRESSURE"); }); successCallback = t.step_func(function (humanactivitydata) { @@ -57,9 +61,9 @@ t.step(function () { assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message); }); - tizen.humanactivitymonitor.startRecorder("PEDOMETER"); - setTimeout(function(){tizen.humanactivitymonitor.stopRecorder("PEDOMETER"); - retValue = tizen.humanactivitymonitor.readRecorderData("PEDOMETER", query, successCallback, errorCallback);}, 60000); + tizen.humanactivitymonitor.startRecorder("PRESSURE"); + setTimeout(function(){tizen.humanactivitymonitor.stopRecorder("PRESSURE"); + retValue = tizen.humanactivitymonitor.readRecorderData("PRESSURE", query, successCallback, errorCallback);}, 60000); }); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_NotSupportedError.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_NotSupportedError.html index c57cd0615..4bb6ddbc2 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_NotSupportedError.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_NotSupportedError.html @@ -35,7 +35,7 @@ Authors: //==== TEST_CRITERIA MC test(function () { - if (!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.pedometer")) { + /*if (!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.pedometer")) { assert_throws(NOT_SUPPORTED_EXCEPTION, function () { tizen.humanactivitymonitor.startRecorder("PEDOMETER"); }, "NotSupportedError exception should throw"); @@ -49,7 +49,7 @@ test(function () { assert_throws(NOT_SUPPORTED_EXCEPTION, function () { tizen.humanactivitymonitor.startRecorder("SLEEP_MONITOR"); }, "NotSupportedError exception should throw"); - } + }*/ if (!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.barometer")) { assert_throws(NOT_SUPPORTED_EXCEPTION, function () { tizen.humanactivitymonitor.startRecorder("PRESSURE"); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_option_empty.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_option_empty.html index 43803d430..bec884830 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_option_empty.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_option_empty.html @@ -39,7 +39,7 @@ test(function () { tizen.humanactivitymonitor.stopRecorder(humanActivityType); }); - var returnedValue = null, humanActivityType = "PEDOMETER"; + var returnedValue = null, humanActivityType = "PRESSURE"; returnedValue = tizen.humanactivitymonitor.startRecorder(humanActivityType, {}); assert_equals(returnedValue, undefined, "Incorrect returned value"); }, document.title); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_with_option.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_with_option.html index e71b88e16..5ba1d5aa6 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_with_option.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_with_option.html @@ -35,7 +35,7 @@ Authors: //==== TEST_CRITERIA MR MOA test(function () { - var returnedValue = null, humanActivityType = "HRM", + var returnedValue = null, humanActivityType = "PRESSURE", options = { retentionPeriod: 1 }; diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_NotSupportedError.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_NotSupportedError.html index 11d19b9ef..a434e68ef 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_NotSupportedError.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_NotSupportedError.html @@ -35,7 +35,7 @@ Authors: //==== TEST_CRITERIA MC test(function () { - if (!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.pedometer")) { + /*if (!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.pedometer")) { assert_throws(NOT_SUPPORTED_EXCEPTION, function () { tizen.humanactivitymonitor.stopRecorder("PEDOMETER"); }, "NotSupportedError exception should throw"); @@ -49,7 +49,7 @@ test(function () { assert_throws(NOT_SUPPORTED_EXCEPTION, function () { tizen.humanactivitymonitor.stopRecorder("SLEEP_MONITOR"); }, "NotSupportedError exception should throw"); - } + }*/ if (!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.barometer")) { assert_throws(NOT_SUPPORTED_EXCEPTION, function () { tizen.humanactivitymonitor.stopRecorder("PRESSURE"); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_GPS.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_GPS.html index 0ed3d7ddf..1be860909 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_GPS.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_GPS.html @@ -34,14 +34,14 @@ Authors: //==== EXECUTION_TYPE manual //==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorOption:callbackInterval A //==== SPEC_URL TBD -//==== STEP Wait 155 seconds for the callback -//==== EXPECT Pass should be shown in the page after 155 seconds +//==== STEP Turn off the screen, then wait 155 seconds for the callback +//==== EXPECT Pass should be shown in the page after turn off the screen 155 seconds //==== TEST_CRITERIA //==== ONLOAD_DELAY 300 -setup({"timeout": 300000}); +setup({"timeout": 400000}); -var t = async_test(document.title, {"timeout": 300000}), changedCallback, startMeasure, endMeasure, humanActivityType = "GPS", cbFlag = 0; +var t = async_test(document.title, {"timeout": 400000}), onScreenStateChanged, changedCallback, startMeasure, endMeasure, humanActivityType = "GPS", cbFlag = 0; t.step(function () { add_result_callback(function () { @@ -51,7 +51,7 @@ t.step(function () { changedCallback = t.step_func(function (gpsInfo) { if (cbFlag == 1) { endMeasure = new Date().getTime(); - assert_approx_equals(endMeasure - startMeasure, 150000, 1000, "Callback should be invoked in given interval time."); + assert_approx_equals(endMeasure - startMeasure, 100000, 1000, "Callback should be invoked in given interval time."); t.done(); } if (cbFlag == 0) { @@ -60,8 +60,15 @@ t.step(function () { } }); - tizen.humanactivitymonitor.start(humanActivityType, changedCallback, {callbackInterval:155000}); - startMeasure = new Date().getTime(); + onScreenStateChanged = t.step_func(function (previousState, changedState) { + if (changedState === "SCREEN_OFF") { + tizen.humanactivitymonitor.start(humanActivityType, changedCallback, null, {callbackInterval:100000}); + tizen.power.unsetScreenStateChangeListener(); + } + }); + + alert('Please turn off the screen'); + tizen.power.setScreenStateChangeListener(onScreenStateChanged); }); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_GPS_default.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_GPS_default.html index 769d9f106..d740dea82 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_GPS_default.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_GPS_default.html @@ -34,14 +34,14 @@ Authors: //==== EXECUTION_TYPE manual //==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorOption:callbackInterval A //==== SPEC_URL TBD -//==== STEP Wait 150 seconds for the callback -//==== EXPECT Pass should be shown in the page after 150 seconds +//==== STEP Turn off the screen, then wait 150 seconds for the callback +//==== EXPECT Pass should be shown in the page after turn off the screen 150 seconds //==== TEST_CRITERIA //==== ONLOAD_DELAY 300 -setup({"timeout": 300000}); +setup({"timeout": 400000}); -var t = async_test(document.title, {"timeout": 300000}), changedCallback, startMeasure, endMeasure, humanActivityType = "GPS", cbFlag = 0; +var t = async_test(document.title, {"timeout": 400000}), onScreenStateChanged, changedCallback, startMeasure, endMeasure, humanActivityType = "GPS", cbFlag = 0; t.step(function () { add_result_callback(function () { @@ -60,7 +60,16 @@ t.step(function () { } }); - tizen.humanactivitymonitor.start(humanActivityType, changedCallback, {callbackInterval:null}); + onScreenStateChanged = t.step_func(function (previousState, changedState) { + if (changedState === "SCREEN_OFF") { + tizen.humanactivitymonitor.start(humanActivityType, changedCallback, null, {callbackInterval:null}); + startMeasure = new Date().getTime(); + tizen.power.unsetScreenStateChangeListener(); + } + }); + + alert('Please turn off the screen'); + tizen.power.setScreenStateChangeListener(onScreenStateChanged); }); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_HRM.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_HRM.html index b566e3c55..cdfbee7bc 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_HRM.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_HRM.html @@ -31,8 +31,11 @@ Authors: //==== TEST: HumanActivityMonitorOption_callbackInterval_type_HRM //==== LABEL Check if method HumanActivityMonitorOption::callbackInterval works properly for HRM HumanActivity type //==== PRIORITY P1 +//==== EXECUTION_TYPE manual //==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorOption:callbackInterval A //==== SPEC_URL TBD +//==== STEP Turn off the screen, then wait 0.5 seconds for the callback +//==== EXPECT Pass should be shown in the page after turn off the screen 0.5 seconds //==== TEST_CRITERIA var t = async_test(document.title), changedCallback, startMeasure, endMeasure, humanActivityType = "HRM", cbFlag = 0; @@ -54,6 +57,7 @@ t.step(function () { } }); + alert('Please turn off the screen'); tizen.humanactivitymonitor.start(humanActivityType, changedCallback, {callbackInterval:500}); }); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_HRM_default.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_HRM_default.html index 4e3200afe..b1f575df2 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_HRM_default.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_HRM_default.html @@ -31,8 +31,11 @@ Authors: //==== TEST: HumanActivityMonitorOption_callbackInterval_type_HRM_default //==== LABEL Check if method HumanActivityMonitorOption::callbackInterval() works properly when set to null //==== PRIORITY P1 +//==== EXECUTION_TYPE manual //==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorOption:callbackInterval A //==== SPEC_URL TBD +//==== STEP Turn off the screen, then wait 0.1 seconds for the callback +//==== EXPECT Pass should be shown in the page after turn off the screen 0.1 seconds //==== TEST_CRITERIA var t = async_test(document.title), changedCallback, startMeasure, endMeasure, humanActivityType = "HRM", cbFlag = 0; @@ -54,6 +57,7 @@ t.step(function () { } }); + alert('Please turn off the screen'); tizen.humanactivitymonitor.start(humanActivityType, changedCallback, {callbackInterval:null}); startMeasure = new Date().getTime(); }); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_sampleInterval_type_GPS.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_sampleInterval_type_GPS.html index 231a003fc..ec4cf1690 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_sampleInterval_type_GPS.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_sampleInterval_type_GPS.html @@ -41,7 +41,7 @@ Authors: setup({"timeout": 300000}); -var t = async_test(document.title, {"timeout": 300000}), changedCallback, humanActivityType = "GPS", cbFlag = 0; +var t = async_test(document.title, {"timeout": 300000}), onScreenStateChanged, changedCallback, humanActivityType = "GPS", cbFlag = 0; t.step(function () { add_result_callback(function () { @@ -58,7 +58,15 @@ t.step(function () { } }); - tizen.humanactivitymonitor.start(humanActivityType, changedCallback, {callbackInterval:120000, sampleInterval:2000}); + onScreenStateChanged = t.step_func(function (previousState, changedState) { + if (changedState === "SCREEN_OFF") { + tizen.humanactivitymonitor.start(humanActivityType, changedCallback, null, {callbackInterval:120000, sampleInterval:2000}); + tizen.power.unsetScreenStateChangeListener(); + } + }); + + alert('Please turn off the screen'); + tizen.power.setScreenStateChangeListener(onScreenStateChanged); }); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_sampleInterval_type_GPS_default.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_sampleInterval_type_GPS_default.html index 02aa26af2..6fa006c67 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_sampleInterval_type_GPS_default.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_sampleInterval_type_GPS_default.html @@ -41,7 +41,7 @@ Authors: setup({"timeout": 300000}); -var t = async_test(document.title, {"timeout": 300000}), changedCallback, humanActivityType = "GPS", cbFlag = 0; +var t = async_test(document.title, {"timeout": 300000}), onScreenStateChanged, changedCallback, humanActivityType = "GPS", cbFlag = 0; t.step(function () { add_result_callback(function () { @@ -58,7 +58,15 @@ t.step(function () { } }); - tizen.humanactivitymonitor.start(humanActivityType, changedCallback, {callbackInterval:120000, sampleInterval:null}); + onScreenStateChanged = t.step_func(function (previousState, changedState) { + if (changedState === "SCREEN_OFF") { + tizen.humanactivitymonitor.start(humanActivityType, changedCallback, null, {callbackInterval:120000, sampleInterval:null}); + tizen.power.unsetScreenStateChangeListener(); + } + }); + + alert('Please turn off the screen'); + tizen.power.setScreenStateChangeListener(onScreenStateChanged); }); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityReadRecorderSuccessCallback_onsuccess.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityReadRecorderSuccessCallback_onsuccess.html index d79d99b69..95ece2d9e 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityReadRecorderSuccessCallback_onsuccess.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityReadRecorderSuccessCallback_onsuccess.html @@ -34,8 +34,8 @@ Authors: //==== SPEC_URL TBD //==== PRIORITY P1 //==== EXECUTION_TYPE manual -//==== STEP Press run button. Waiting for 10 minutes, then press the Click button. -//==== EXPECT Pass +//==== STEP Waiting for 1 minutes for the callback. +//==== EXPECT Pass should be shown in the page after 1 minutes. //==== TEST_CRITERIA CBT CBOA //==== ONLOAD_DELAY 60 @@ -52,12 +52,12 @@ t.step(function () { successCallback = t.step_func(function (humanactivitydata) { assert_not_equals(humanactivitydata , null, "Argument should not be null."); assert_type(humanactivitydata[0], "object", "Incorrect type."); - assert_type(humanactivitydata[0].heartRate, "number", "heartRate type check"); - assert_type(humanactivitydata[0].startTime, "number", "startTime type check"); - assert_type(humanactivitydata[0].endTime, "number", "endTime type check"); - assert_not_equals(humanactivitydata[0].heartRate, null, "heartRate should not be null"); - assert_not_equals(humanactivitydata[0].startTime, null, "startTime should not be null"); - assert_not_equals(humanactivitydata[0].endTime, null, "endTime should not be null"); + assert_type(humanactivitydata[0].max, "number", "max type check"); + assert_type(humanactivitydata[0].min, "number", "min type check"); + assert_type(humanactivitydata[0].average, "number", "average type check"); + assert_not_equals(humanactivitydata[0].max, null, "max should not be null"); + assert_not_equals(humanactivitydata[0].min, null, "min should not be null"); + assert_not_equals(humanactivitydata[0].average, null, "average should not be null"); t.done(); }); @@ -65,7 +65,7 @@ t.step(function () { assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message); }); - tizen.humanactivitymonitor.readRecorderData("HRM", query, successCallback); + tizen.humanactivitymonitor.readRecorderData("PRESSURE", query, successCallback); }); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderPressureData_endTime_attribute.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderPressureData_endTime_attribute.html deleted file mode 100755 index 7cdd54f4a..000000000 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderPressureData_endTime_attribute.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - -HumanActivityRecorderPressureData_endTime_attribute - - - - -
- - - \ No newline at end of file diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderPressureData_startTime_attribute.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderPressureData_startTime_attribute.html deleted file mode 100755 index 06e214b66..000000000 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderPressureData_startTime_attribute.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - -HumanActivityRecorderPressureData_startTime_attribute - - - - -
- - - \ No newline at end of file diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_endTime_attribute.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_endTime_attribute.html index 9e6aedd61..07602521b 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_endTime_attribute.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_endTime_attribute.html @@ -32,11 +32,14 @@ Authors: //==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityRecorderSleepMonitorData:endTime A //==== SPEC_URL TBD //==== PRIORITY P1 +//==== EXECUTION_TYPE manual +//==== STEP Press run button. Waiting for 20 minutes for the callback without touching the device. +//==== EXPECT Pass //==== TEST_CRITERIA AE AT ARO -setup({timeout: 30000}); +setup({timeout: 1500000}); -var t = async_test(document.title, {timeout: 30000}), successCallback, date = new Date(), endTime = date.getTime(), startTime = date.setDate(date.getDate() - 1), +var t = async_test(document.title, {timeout: 1500000}), successCallback, date = new Date(), startTime = date.getTime(), endTime = date.setDate(date.getDate() + 1), query = { startTime: startTime/1000, endTime: endTime/1000, @@ -56,8 +59,8 @@ t.step(function () { }); tizen.humanactivitymonitor.startRecorder("SLEEP_MONITOR"); - setTimeout(function(){tizen.humanactivitymonitor.stopRecorder("SLEEP_MONITOR");}, 100); - tizen.humanactivitymonitor.readRecorderData("SLEEP_MONITOR", query, successCallback); + setTimeout(function(){tizen.humanactivitymonitor.stopRecorder("SLEEP_MONITOR"); + retValue = tizen.humanactivitymonitor.readRecorderData("SLEEP_MONITOR", query, successCallback);}, 1300000); }); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_startTime_attribute.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_startTime_attribute.html index 6403f93e3..245c6e0fa 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_startTime_attribute.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_startTime_attribute.html @@ -32,11 +32,14 @@ Authors: //==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityRecorderSleepMonitorData:startTime A //==== SPEC_URL TBD //==== PRIORITY P1 +//==== EXECUTION_TYPE manual +//==== STEP Press run button. Waiting for 20 minutes for the callback without touching the device. +//==== EXPECT Pass //==== TEST_CRITERIA AE AT ARO -setup({timeout: 30000}); +setup({timeout: 1500000}); -var t = async_test(document.title, {timeout: 30000}), successCallback, date = new Date(), endTime = date.getTime(), startTime = date.setDate(date.getDate() - 1), +var t = async_test(document.title, {timeout: 1500000}), successCallback, date = new Date(), startTime = date.getTime(), endTime = date.setDate(date.getDate() + 1), query = { startTime: startTime/1000, endTime: endTime/1000, @@ -56,8 +59,8 @@ t.step(function () { }); tizen.humanactivitymonitor.startRecorder("SLEEP_MONITOR"); - setTimeout(function(){tizen.humanactivitymonitor.stopRecorder("SLEEP_MONITOR");}, 100); - tizen.humanactivitymonitor.readRecorderData("SLEEP_MONITOR", query, successCallback); + setTimeout(function(){tizen.humanactivitymonitor.stopRecorder("SLEEP_MONITOR"); + retValue = tizen.humanactivitymonitor.readRecorderData("SLEEP_MONITOR", query, successCallback);}, 1300000); }); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_status_attribute.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_status_attribute.html index f030d4498..c47bacc52 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_status_attribute.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_status_attribute.html @@ -32,11 +32,14 @@ Authors: //==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityRecorderSleepMonitorData:status A //==== SPEC_URL TBD //==== PRIORITY P1 +//==== EXECUTION_TYPE manual +//==== STEP Press run button. Waiting for 20 minutes for the callback without touching the device. +//==== EXPECT Pass //==== TEST_CRITERIA AE AT ARO AVL -setup({timeout: 30000}); +setup({timeout: 1500000}); -var t = async_test(document.title, {timeout: 30000}), successCallback, date = new Date(), endTime = date.getTime(), startTime = date.setDate(date.getDate() - 1), +var t = async_test(document.title, {timeout: 1500000}), successCallback, date = new Date(), startTime = date.getTime(), endTime = date.setDate(date.getDate() + 1), query = { startTime: startTime/1000, endTime: endTime/1000, @@ -57,8 +60,8 @@ t.step(function () { }); tizen.humanactivitymonitor.startRecorder("SLEEP_MONITOR"); - setTimeout(function(){tizen.humanactivitymonitor.stopRecorder("SLEEP_MONITOR");}, 100); - tizen.humanactivitymonitor.readRecorderData("SLEEP_MONITOR", query, successCallback); + setTimeout(function(){tizen.humanactivitymonitor.stopRecorder("SLEEP_MONITOR"); + retValue = tizen.humanactivitymonitor.readRecorderData("SLEEP_MONITOR", query, successCallback);}, 1300000); }); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_status_attribute.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_status_attribute.html index c5d0cae19..da4a850b4 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_status_attribute.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_status_attribute.html @@ -53,8 +53,7 @@ t.step(function () { t.done(); }); - tizen.humanactivitymonitor.start(humanActivityType); - tizen.humanactivitymonitor.getHumanActivityData(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError); + tizen.humanactivitymonitor.start(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError); }); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_timestamp_attribute.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_timestamp_attribute.html index cbbe0991d..b166849ad 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_timestamp_attribute.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_timestamp_attribute.html @@ -52,8 +52,7 @@ t.step(function () { t.done(); }); - tizen.humanactivitymonitor.start(humanActivityType); - tizen.humanactivitymonitor.getHumanActivityData(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError); + tizen.humanactivitymonitor.start(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError); }); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/support/humanactivitymonitor_common.js b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/support/humanactivitymonitor_common.js index 061d4ecb0..a86514260 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/support/humanactivitymonitor_common.js +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/support/humanactivitymonitor_common.js @@ -21,6 +21,7 @@ Authors: SERVICE_NOT_AVAILABLE_ERR = "ServiceNotAvailableError"; NOT_SUPPORTED_EXCEPTION = "NotSupportedError"; +SERVICE_NOT_AVAILABLE_EXCEPTION = {name: 'ServiceNotAvailableError'}; var PEDOMETER_STEP_STATUS = [ "NOT_MOVING", "WALKING", "RUNNING", "UNKNOWN" diff --git a/common/tct-humanactivitymonitor-tizen-tests/tests.xml b/common/tct-humanactivitymonitor-tizen-tests/tests.xml index f8f6265e0..80c1e1f61 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/tests.xml +++ b/common/tct-humanactivitymonitor-tizen-tests/tests.xml @@ -152,17 +152,6 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_successCallback_invalid_cb.html - - - - - Waiting for 1 minutes for the callback. - Pass should be shown in the page after 1 minutes. - - - /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html - - /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_NotSupportedError.html @@ -178,11 +167,6 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_misarg.html - - - /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_type_PRESSURE.html - - /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_NotSupportedError.html @@ -198,6 +182,28 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_misarg.html + + + + MOBILE_FULL + + + + + + + Waiting for 1 minutes for the callback. + Pass should be shown in the page after 1 minutes. + + + /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html + + + + + /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_type_PRESSURE.html + + /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_type_PRESSURE.html @@ -225,18 +231,6 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderPressureData_average_attribute.html - - - 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. - - - Waiting for 1 minutes for the callback. - Pass should be shown in the page after 1 minutes. - - - /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderPressureData_endTime_attribute.html - - 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. @@ -266,18 +260,6 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderPressureData_notexist.html - - - 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. - - - Waiting for 1 minutes for the callback. - Pass should be shown in the page after 1 minutes. - - - /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderPressureData_startTime_attribute.html - - @@ -417,11 +399,6 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_errorCallback_TypeMismatch.html - - - /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_errorCallback_invalid_cb.html - - /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_errorCallback_invoked.html @@ -437,11 +414,6 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_successCallback_TypeMismatch.html - - - /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_successCallback_invalid_cb.html - - /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_type_PEDOMETER.html @@ -636,12 +608,13 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_stepStatus_RUNNING.html - + + 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. - Press run button. Pretend walking with the device. - Pass + Waiting for 1 minutes for the callback. + Pass should be shown in the page after 1 minutes. /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_query_empty.html @@ -658,12 +631,13 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_PEDOMETER.html - + + 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. - Press run button. Pretend walking with the device. - Pass + Waiting for 1 minutes for the callback. + Pass should be shown in the page after 1 minutes. /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_with_errorCallback.html @@ -813,17 +787,29 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityHRMData_rRInterval_attribute.html - - + @@ -849,13 +835,13 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_type_HRM.html - + - Before run this tc, run HumanActivityMonitorManager_readRecorderData_type_HRM.html first, because we should wait at least 10 minutes to get the recorded data after start recorder. But if you tested that TC already, you can run this TC now. + 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. - Waiting for 10 minutes for the callback. - Pass should be shown in the page after 10 minutes. + Waiting for 1 minutes for the callback. + Pass should be shown in the page after 1 minutes. /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityReadRecorderSuccessCallback_onsuccess.html @@ -958,23 +944,23 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_timestamp_attribute.html - + - Wait 155 seconds for the callback - Pass should be shown in the page after 155 seconds + Turn off the screen, then wait 155 seconds for the callback + Pass should be shown in the page after turn off the screen 155 seconds /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_GPS.html - + - Wait 150 seconds for the callback - Pass should be shown in the page after 150 seconds + Turn off the screen, then wait 150 seconds for the callback + Pass should be shown in the page after turn off the screen 150 seconds /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_GPS_default.html @@ -1039,8 +1025,14 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_timestamp_attribute.html - + + + + Waiting for 20 minutes for the callback without touching the device. + Pass should be shown in the page after 20 minutes. + + /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_SLEEP_MONITOR.html @@ -1054,8 +1046,14 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_type_SLEEP_MONITOR.html - + + + + Waiting for 20 minutes for the callback without touching the device. + Pass should be shown in the page after 20 minutes. + + /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_endTime_attribute.html @@ -1064,13 +1062,25 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_notexist.html - + + + + Waiting for 20 minutes for the callback without touching the device. + Pass should be shown in the page after 20 minutes. + + /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_startTime_attribute.html - + + + + Waiting for 20 minutes for the callback without touching the device. + Pass should be shown in the page after 20 minutes. + + /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_status_attribute.html @@ -1242,17 +1252,6 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_successCallback_invalid_cb.html - - - - - Waiting for 1 minutes for the callback. - Pass should be shown in the page after 1 minutes. - - - /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html - - /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_NotSupportedError.html @@ -1268,11 +1267,6 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_misarg.html - - - /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_type_PRESSURE.html - - /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_NotSupportedError.html @@ -1288,6 +1282,38 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_misarg.html + + + /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityReadRecorderSuccessCallback_notexist.html + + + + + /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderData_notexist.html + + + + + + WEARABLE + + + + + + + Waiting for 1 minutes for the callback. + Pass should be shown in the page after 1 minutes. + + + /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html + + + + + /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_type_PRESSURE.html + + /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_type_PRESSURE.html @@ -1507,11 +1533,6 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_errorCallback_TypeMismatch.html - - - /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_errorCallback_invalid_cb.html - - /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_errorCallback_invoked.html @@ -1527,11 +1548,6 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_successCallback_TypeMismatch.html - - - /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_successCallback_invalid_cb.html - - /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_type_PEDOMETER.html @@ -1726,12 +1742,13 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_stepStatus_RUNNING.html - + + 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. - Press run button. Pretend walking with the device. - Pass + Waiting for 1 minutes for the callback. + Pass should be shown in the page after 1 minutes. /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_query_empty.html @@ -1748,12 +1765,13 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_PEDOMETER.html - + + 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. - Press run button. Pretend walking with the device. - Pass + Waiting for 1 minutes for the callback. + Pass should be shown in the page after 1 minutes. /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_with_errorCallback.html @@ -1903,17 +1921,29 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityHRMData_rRInterval_attribute.html - - + @@ -1939,13 +1969,13 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_type_HRM.html - + - Before run this tc, run HumanActivityMonitorManager_readRecorderData_type_HRM.html first, because we should wait at least 10 minutes to get the recorded data after start recorder. But if you tested that TC already, you can run this TC now. + 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. - Waiting for 10 minutes for the callback. - Pass should be shown in the page after 10 minutes. + Waiting for 1 minutes for the callback. + Pass should be shown in the page after 1 minutes. /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityReadRecorderSuccessCallback_onsuccess.html @@ -2048,23 +2078,23 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_timestamp_attribute.html - + - Wait 155 seconds for the callback - Pass should be shown in the page after 155 seconds + Turn off the screen, then wait 155 seconds for the callback + Pass should be shown in the page after turn off the screen 155 seconds /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_GPS.html - + - Wait 150 seconds for the callback - Pass should be shown in the page after 150 seconds + Turn off the screen, then wait 150 seconds for the callback + Pass should be shown in the page after turn off the screen 150 seconds /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_GPS_default.html @@ -2124,9 +2154,15 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_status_attribute.html - + - /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_timestamp_attribute.html + + + Waiting for 20 minutes for the callback without touching the device. + Pass should be shown in the page after 20 minutes. + + + /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_SLEEP_MONITOR.html @@ -2144,8 +2180,14 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_type_SLEEP_MONITOR.html - + + + + Waiting for 20 minutes for the callback without touching the device. + Pass should be shown in the page after 20 minutes. + + /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_endTime_attribute.html @@ -2154,13 +2196,25 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_notexist.html - + + + + Waiting for 20 minutes for the callback without touching the device. + Pass should be shown in the page after 20 minutes. + + /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_startTime_attribute.html - + + + + Waiting for 20 minutes for the callback without touching the device. + Pass should be shown in the page after 20 minutes. + + /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_status_attribute.html