diff --git a/hdf/sensor/common/hdf_sensor_test.cpp b/hdf/sensor/common/hdf_sensor_test.cpp old mode 100644 new mode 100755 diff --git a/hdf/vibrator/common/hdf_vibrator_test.cpp b/hdf/vibrator/common/hdf_vibrator_test.cpp index 9e2931e0..6b646a3c 100644 --- a/hdf/vibrator/common/hdf_vibrator_test.cpp +++ b/hdf/vibrator/common/hdf_vibrator_test.cpp @@ -68,7 +68,7 @@ void HdfVibratorTest::TearDown() * @tc.desc: Creat a vibrator instance. The instance is not empty. * @tc.type: FUNC */ -HWTEST_F(HdfVibratorTest, CheckVibratorInstanceIsEmpty, Function | MediumTest | Level1) +HWTEST_F(HdfVibratorTest, SUB_DriverSystem_VibratorHdi_0010, Function | MediumTest | Level1) { ASSERT_NE(nullptr, g_vibratorDev); } @@ -79,7 +79,7 @@ HWTEST_F(HdfVibratorTest, CheckVibratorInstanceIsEmpty, Function | MediumTest | Controls this vibrator to stop the vibrator * @tc.type: FUNC */ -HWTEST_F(HdfVibratorTest, PerformOneShotVibratorDuration001, Function | MediumTest | Level1) +HWTEST_F(HdfVibratorTest, SUB_DriverSystem_VibratorHdi_0020, Function | MediumTest | Level1) { ASSERT_NE(nullptr, g_vibratorDev); @@ -98,7 +98,7 @@ HWTEST_F(HdfVibratorTest, PerformOneShotVibratorDuration001, Function | MediumTe Controls this vibrator to stop the vibrator * @tc.type: FUNC */ -HWTEST_F(HdfVibratorTest, PerformOneShotVibratorDuration002, Function | MediumTest | Level1) +HWTEST_F(HdfVibratorTest, SUB_DriverSystem_VibratorHdi_0030, Function | MediumTest | Level1) { ASSERT_NE(nullptr, g_vibratorDev); @@ -115,7 +115,7 @@ HWTEST_F(HdfVibratorTest, PerformOneShotVibratorDuration002, Function | MediumTe Controls this vibrator to stop the vibrator * @tc.type: FUNC */ -HWTEST_F(HdfVibratorTest, ExecuteVibratorEffect001, Function | MediumTest | Level1) +HWTEST_F(HdfVibratorTest, SUB_DriverSystem_VibratorHdi_0040, Function | MediumTest | Level1) { ASSERT_NE(nullptr, g_vibratorDev); @@ -134,7 +134,7 @@ HWTEST_F(HdfVibratorTest, ExecuteVibratorEffect001, Function | MediumTest | Leve Controls this vibrator to stop the vibrator. * @tc.type: FUNC */ -HWTEST_F(HdfVibratorTest, ExecuteVibratorEffect002, Function | MediumTest | Level1) +HWTEST_F(HdfVibratorTest, SUB_DriverSystem_VibratorHdi_0050, Function | MediumTest | Level1) { ASSERT_NE(nullptr, g_vibratorDev); @@ -153,7 +153,7 @@ HWTEST_F(HdfVibratorTest, ExecuteVibratorEffect002, Function | MediumTest | Leve Controls this vibrator to stop the vibrator. * @tc.type: FUNC */ -HWTEST_F(HdfVibratorTest, ExecuteVibratorEffect003, Function | MediumTest | Level1) +HWTEST_F(HdfVibratorTest, SUB_DriverSystem_VibratorHdi_0060, Function | MediumTest | Level1) { ASSERT_NE(nullptr, g_vibratorDev); @@ -170,7 +170,7 @@ HWTEST_F(HdfVibratorTest, ExecuteVibratorEffect003, Function | MediumTest | Leve Controls this vibrator to stop the vibrator. * @tc.type: FUNC */ -HWTEST_F(HdfVibratorTest, ExecuteVibratorEffect004, Function | MediumTest | Level1) +HWTEST_F(HdfVibratorTest, SUB_DriverSystem_VibratorHdi_0090, Function | MediumTest | Level1) { ASSERT_NE(nullptr, g_vibratorDev); @@ -193,7 +193,7 @@ HWTEST_F(HdfVibratorTest, ExecuteVibratorEffect004, Function | MediumTest | Leve Controls this vibrator to stop the vibrator. * @tc.type: FUNC */ -HWTEST_F(HdfVibratorTest, ExecuteVibratorEffect005, Function | MediumTest | Level1) +HWTEST_F(HdfVibratorTest, SUB_DriverSystem_VibratorHdi_0070, Function | MediumTest | Level1) { ASSERT_NE(nullptr, g_vibratorDev); @@ -213,7 +213,7 @@ HWTEST_F(HdfVibratorTest, ExecuteVibratorEffect005, Function | MediumTest | Leve Controls this vibrator to stop the vibrator. * @tc.type: FUNC */ -HWTEST_F(HdfVibratorTest, ExecuteVibratorEffect006, Function | MediumTest | Level1) +HWTEST_F(HdfVibratorTest, SUB_DriverSystem_VibratorHdi_0080, Function | MediumTest | Level1) { ASSERT_NE(nullptr, g_vibratorDev); @@ -232,7 +232,7 @@ HWTEST_F(HdfVibratorTest, ExecuteVibratorEffect006, Function | MediumTest | Leve Controls this vibrator to stop the vibrator. * @tc.type: FUNC */ -HWTEST_F(HdfVibratorTest, ExecuteVibratorEffect007, Function | MediumTest | Level1) +HWTEST_F(HdfVibratorTest, SUB_DriverSystem_VibratorHdi_0100, Function | MediumTest | Level1) { ASSERT_NE(nullptr, g_vibratorDev); diff --git a/hdf/vibrator/hdiService/hdf_vibrator_hdiService_test.cpp b/hdf/vibrator/hdiService/hdf_vibrator_hdiService_test.cpp index c3764121..0a481355 100644 --- a/hdf/vibrator/hdiService/hdf_vibrator_hdiService_test.cpp +++ b/hdf/vibrator/hdiService/hdf_vibrator_hdiService_test.cpp @@ -65,7 +65,7 @@ void HdfVibratorHdiServiceTest::TearDown() * @tc.desc: Creat a vibrator instance. The instance is not empty. * @tc.type: FUNC */ -HWTEST_F(HdfVibratorHdiServiceTest, CheckVibratorInstanceIsEmpty, Function | MediumTest | Level1) +HWTEST_F(HdfVibratorHdiServiceTest, SUB_DriverSystem_VibratorHdi_0010, Function | MediumTest | Level1) { ASSERT_NE(nullptr, g_vibratorInterface); } @@ -76,7 +76,7 @@ HWTEST_F(HdfVibratorHdiServiceTest, CheckVibratorInstanceIsEmpty, Function | Med * Controls this vibrator to stop the vibrator * @tc.type: FUNC */ -HWTEST_F(HdfVibratorHdiServiceTest, PerformOneShotVibratorDuration001, Function | MediumTest | Level1) +HWTEST_F(HdfVibratorHdiServiceTest, SUB_DriverSystem_VibratorHdi_0020, Function | MediumTest | Level1) { ASSERT_NE(nullptr, g_vibratorInterface); @@ -95,7 +95,7 @@ HWTEST_F(HdfVibratorHdiServiceTest, PerformOneShotVibratorDuration001, Function * Controls this vibrator to stop the vibrator * @tc.type: FUNC */ -HWTEST_F(HdfVibratorHdiServiceTest, PerformOneShotVibratorDuration002, Function | MediumTest | Level1) +HWTEST_F(HdfVibratorHdiServiceTest, SUB_DriverSystem_VibratorHdi_0030, Function | MediumTest | Level1) { ASSERT_NE(nullptr, g_vibratorInterface); @@ -112,7 +112,7 @@ HWTEST_F(HdfVibratorHdiServiceTest, PerformOneShotVibratorDuration002, Function * Controls this vibrator to stop the vibrator * @tc.type: FUNC */ -HWTEST_F(HdfVibratorHdiServiceTest, ExecuteVibratorEffect001, Function | MediumTest | Level1) +HWTEST_F(HdfVibratorHdiServiceTest, SUB_DriverSystem_VibratorHdi_0040, Function | MediumTest | Level1) { ASSERT_NE(nullptr, g_vibratorInterface); @@ -131,7 +131,7 @@ HWTEST_F(HdfVibratorHdiServiceTest, ExecuteVibratorEffect001, Function | MediumT * Controls this vibrator to stop the vibrator. * @tc.type: FUNC */ -HWTEST_F(HdfVibratorHdiServiceTest, ExecuteVibratorEffect002, Function | MediumTest | Level1) +HWTEST_F(HdfVibratorHdiServiceTest, SUB_DriverSystem_VibratorHdi_0050, Function | MediumTest | Level1) { ASSERT_NE(nullptr, g_vibratorInterface); @@ -150,7 +150,7 @@ HWTEST_F(HdfVibratorHdiServiceTest, ExecuteVibratorEffect002, Function | MediumT * Controls this vibrator to stop the vibrator. * @tc.type: FUNC */ -HWTEST_F(HdfVibratorHdiServiceTest, ExecuteVibratorEffect004, Function | MediumTest | Level1) +HWTEST_F(HdfVibratorHdiServiceTest, SUB_DriverSystem_VibratorHdi_0090, Function | MediumTest | Level1) { ASSERT_NE(nullptr, g_vibratorInterface); @@ -173,7 +173,7 @@ HWTEST_F(HdfVibratorHdiServiceTest, ExecuteVibratorEffect004, Function | MediumT * Controls this vibrator to stop the vibrator. * @tc.type: FUNC */ -HWTEST_F(HdfVibratorHdiServiceTest, ExecuteVibratorEffect005, Function | MediumTest | Level1) +HWTEST_F(HdfVibratorHdiServiceTest, SUB_DriverSystem_VibratorHdi_0070, Function | MediumTest | Level1) { ASSERT_NE(nullptr, g_vibratorInterface); @@ -193,7 +193,7 @@ HWTEST_F(HdfVibratorHdiServiceTest, ExecuteVibratorEffect005, Function | MediumT * Controls this vibrator to stop the vibrator. * @tc.type: FUNC */ -HWTEST_F(HdfVibratorHdiServiceTest, ExecuteVibratorEffect006, Function | MediumTest | Level1) +HWTEST_F(HdfVibratorHdiServiceTest, SUB_DriverSystem_VibratorHdi_0080, Function | MediumTest | Level1) { ASSERT_NE(nullptr, g_vibratorInterface); @@ -212,7 +212,7 @@ HWTEST_F(HdfVibratorHdiServiceTest, ExecuteVibratorEffect006, Function | MediumT * Controls this vibrator to stop the vibrator. * @tc.type: FUNC */ -HWTEST_F(HdfVibratorHdiServiceTest, ExecuteVibratorEffect007, Function | MediumTest | Level1) +HWTEST_F(HdfVibratorHdiServiceTest, SUB_DriverSystem_VibratorHdi_0100, Function | MediumTest | Level1) { ASSERT_NE(nullptr, g_vibratorInterface);