mirror of
https://gitee.com/openharmony/xts_hats
synced 2025-02-20 02:13:15 +00:00
Add hdi test suites --codec
Signed-off-by: wangchao582 <wangchao582@huawei.com>
This commit is contained in:
parent
f5c69896a2
commit
4c4d6b3e8b
@ -316,9 +316,10 @@ HWTEST_F(CodecHdiManagerTestAdditional, testCodecDestroyComponent001, Function |
|
||||
{
|
||||
ASSERT_TRUE(manager_ != nullptr);
|
||||
uint32_t componentId = 0;
|
||||
int32_t ret;
|
||||
int i = 0;
|
||||
while (i < 50) {
|
||||
int32_t ret = manager_->DestroyComponent(componentId);
|
||||
ret = manager_->DestroyComponent(componentId);
|
||||
ASSERT_EQ(ret, HDF_SUCCESS);
|
||||
i++;
|
||||
}
|
||||
@ -336,4 +337,4 @@ HWTEST_F(CodecHdiManagerTestAdditional, testCodecDestroyComponent002, Function |
|
||||
int32_t ret = manager_->DestroyComponent(componentId);
|
||||
ASSERT_EQ(ret, HDF_SUCCESS);
|
||||
}
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
Loading…
x
Reference in New Issue
Block a user