t.step(function () {
HRMrawsensor = tizen.sensorservice.getDefaultSensor("HRM_RAW");
+ if(!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_green") &&
+ !tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_red") &&
+ !tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_ir")) {
+ t.done();
+ }
add_result_callback(function () {
HRMrawsensor.stop();
t.step(function () {
HRMrawsensor = tizen.sensorservice.getDefaultSensor("HRM_RAW");
+ if(!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_green") &&
+ !tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_red") &&
+ !tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_ir")) {
+ t.done();
+ }
add_result_callback(function () {
HRMrawsensor.stop();
t.step(function () {
HRMrawsensor = tizen.sensorservice.getDefaultSensor("HRM_RAW");
+ if(!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_green") &&
+ !tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_red") &&
+ !tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_ir")) {
+ t.done();
+ }
add_result_callback(function () {
HRMrawsensor.stop();
t.step(function () {
HRMrawsensor = tizen.sensorservice.getDefaultSensor("HRM_RAW");
+ if(!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_green") &&
+ !tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_red") &&
+ !tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_ir")) {
+ t.done();
+ }
onGetSuccessCB = t.step_func(function (sensorData) {
assert_unreached("SuccessCallback should not be called");
t.step(function () {
HRMrawsensor = tizen.sensorservice.getDefaultSensor("HRM_RAW");
+ if(!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_green") &&
+ !tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_red") &&
+ !tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_ir")) {
+ t.done();
+ }
add_result_callback(function () {
HRMrawsensor.stop();
t.step(function () {
HRMrawsensor = tizen.sensorservice.getDefaultSensor("HRM_RAW");
+ if(!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_green") &&
+ !tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_red") &&
+ !tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_ir")) {
+ t.done();
+ }
add_result_callback(function () {
HRMrawsensor.stop();
t.step(function () {
HRMrawsensor = tizen.sensorservice.getDefaultSensor("HRM_RAW");
+ if(!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_green") &&
+ !tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_red") &&
+ !tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_ir")) {
+ t.done();
+ }
add_result_callback(function () {
HRMrawsensor.stop();
t.step(function () {
HRMrawsensor = tizen.sensorservice.getDefaultSensor("HRM_RAW");
+ if(!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_green") &&
+ !tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_red") &&
+ !tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_ir")) {
+ t.done();
+ }
add_result_callback(function () {
HRMrawsensor.stop();
t.step(function () {
HRMrawsensor = tizen.sensorservice.getDefaultSensor("HRM_RAW");
+ if(!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_green") &&
+ !tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_red") &&
+ !tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_ir")) {
+ t.done();
+ }
add_result_callback(function () {
HRMrawsensor.stop();
t.step(function () {
HRMrawsensor = tizen.sensorservice.getDefaultSensor("HRM_RAW");
+ if(!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_green") &&
+ !tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_red") &&
+ !tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_ir")) {
+ t.done();
+ }
add_result_callback(function () {
HRMrawsensor.stop();