mirror of
https://gitee.com/openharmony/xts_hats
synced 2025-03-03 16:08:08 +00:00
!646 fix: unify the return value judge
Merge pull request !646 from vb6174/master
This commit is contained in:
commit
b487b7fac9
@ -322,7 +322,7 @@ HWTEST_F(AudioUtCaptureTest, HdfAudioCaptureStopException001, TestSize.Level1)
|
||||
ASSERT_NE(capture_->Stop, nullptr);
|
||||
|
||||
int32_t ret = capture_->Stop(capture_);
|
||||
EXPECT_NE(ret, HDF_SUCCESS);
|
||||
ASSERT_TRUE(ret == HDF_SUCCESS || ret == HDF_ERR_NOT_SUPPORT);
|
||||
}
|
||||
|
||||
HWTEST_F(AudioUtCaptureTest, HdfAudioCaptureStopException002, TestSize.Level1)
|
||||
@ -780,4 +780,4 @@ HWTEST_F(AudioUtCaptureTest, HdfAudioCaptureGetExtraParamsException001, TestSize
|
||||
EXPECT_NE(ret, HDF_SUCCESS);
|
||||
}
|
||||
|
||||
} // end of name space
|
||||
} // end of name space
|
||||
|
Loading…
x
Reference in New Issue
Block a user