diff --git a/interfaces/native/include/sensor_agent_type.h b/interfaces/native/include/sensor_agent_type.h index ca2455e7b3e32f4aacf375073b39fea8f054b9a1..0273f31ec70c447d00c0296240c82a0fcae51d81 100755 --- a/interfaces/native/include/sensor_agent_type.h +++ b/interfaces/native/include/sensor_agent_type.h @@ -67,8 +67,6 @@ typedef enum SensorTypeId { SENSOR_TYPE_ID_NONE = 0, /**< None */ SENSOR_TYPE_ID_ACCELEROMETER = 1, /**< Acceleration sensor */ SENSOR_TYPE_ID_GYROSCOPE = 2, /**< Gyroscope sensor */ - SENSOR_TYPE_ID_PHOTOPLETHYSMOGRAPH = 3, /**< Photoplethysmography sensor */ - SENSOR_TYPE_ID_ELECTROCARDIOGRAPH = 4, /**< Electrocardiogram (ECG) sensor */ SENSOR_TYPE_ID_AMBIENT_LIGHT = 5, /**< Ambient light sensor */ SENSOR_TYPE_ID_MAGNETIC_FIELD = 6, /**< Magnetic field sensor */ SENSOR_TYPE_ID_CAPACITIVE = 7, /**< Capacitive sensor */ diff --git a/interfaces/native/test/unittest/sensor_agent_test.cpp b/interfaces/native/test/unittest/sensor_agent_test.cpp index d29263e8ccf67d801883429197b97d039026bcc1..ad0ea07042e0dc1be04a12c55e6d469cc1628165 100755 --- a/interfaces/native/test/unittest/sensor_agent_test.cpp +++ b/interfaces/native/test/unittest/sensor_agent_test.cpp @@ -61,10 +61,11 @@ void SensorDataCallbackImpl(SensorEvent *event) } /* - * @tc.name: SensorNativeApiTest_001 - * @tc.desc: sensor native api test - * @tc.type: FUNC - * @tc.author: wuzhihui + * Feature: sensor + * Function: SubscribeSensor + * FunctionPoints: Check the interface function + * EnvConditions: mobile that can run ohos test framework + * CaseDescription: Verify the senser service framework process. */ HWTEST_F(SensorAgentTest, SensorNativeApiTest_001, TestSize.Level1) {