!126 [Vibrator用例编号更新]

Merge pull request !126 from Yyyingchao/y_123
This commit is contained in:
openharmony_ci 2022-05-10 02:59:32 +00:00 committed by Gitee
commit 6487ee6fc6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 19 additions and 19 deletions

0
hdf/sensor/common/hdf_sensor_test.cpp Normal file → Executable file
View File

View File

@ -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);

View File

@ -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);