[UTC][sensor][Non-ACR][Remove pedometer from auto-test]
authorkibak.yoon <kibak.yoon@samsung.com>
Mon, 21 Aug 2017 03:04:01 +0000 (12:04 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Mon, 21 Aug 2017 03:04:01 +0000 (12:04 +0900)
- Because an event of pedometer can only occur in a specific situation,
  e.g., walking or running.
- It's hard to test automatically, therefore this testcase should be
  moved from tct to tbt.

Change-Id: Id633f33cd18c2b93d06cf76d2fcb7684469de4d8
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/utc/sensor/utc-system-sensor-basic.c

index bd7eef549c10fdc66698cfe412441668f9ce5ec5..e01e68b7d91aa04595d15d18bf64a97f4dba7afa 100755 (executable)
@@ -50,13 +50,13 @@ sensor_type_e types[] = {
        SENSOR_GEOMAGNETIC_UNCALIBRATED,         /**< Uncalibrated Geomagnetic sensor (Since Tizen 2.4) */
        SENSOR_GYROSCOPE_ROTATION_VECTOR,        /**< Gyroscope-based rotation vector sensor (Since Tizen 2.4) */
        SENSOR_GEOMAGNETIC_ROTATION_VECTOR,      /**< Geomagnetic-based rotation vector sensor (Since Tizen 2.4) */
-       SENSOR_HUMAN_PEDOMETER,                  /**< Pedometer
-                                                     @if MOBILE (Since 3.0) @elseif WEARABLE (Since 2.3.2) @endif
-                                                     @n Privilege : http://tizen.org/privilege/healthinfo */
 };
 
 sensor_type_e manual_types[] = {
        SENSOR_PROXIMITY,                        /**< Proximity sensor */
+       SENSOR_HUMAN_PEDOMETER,                  /**< Pedometer
+                                                     @if MOBILE (Since 3.0) @elseif WEARABLE (Since 2.3.2) @endif
+                                                     @n Privilege : http://tizen.org/privilege/healthinfo */
        SENSOR_HUMAN_STRESS_MONITOR,             /**< Stress monitor (Since 3.0)
                                                      @if MOBILE (Since 3.0) @elseif WEARABLE (Since 2.3.2) @endif
                                                      @n Privilege : http://tizen.org/privilege/healthinfo */
@@ -86,17 +86,17 @@ static char* sensor_features[] = {
        "http://tizen.org/feature/sensor.magnetometer.uncalibrated",
        "http://tizen.org/feature/sensor.gyroscope_rotation_vector",
        "http://tizen.org/feature/sensor.geomagnetic_rotation_vector",
-       "http://tizen.org/feature/sensor.pedometer",
 };
 
 static char* manual_sensor_features[] = {
        "http://tizen.org/feature/sensor.proximity",
+       "http://tizen.org/feature/sensor.pedometer",
        "http://tizen.org/feature/sensor.sleep_monitor",
        "http://tizen.org/feature/sensor.sleep_monitor",
        "http://tizen.org/feature/sensor.stress_monitor",
 };
 
-static bool sensor_supported[21];
+static bool sensor_supported[20];
 static bool manual_sensor_supported[1];
 static bool supported=false;