未验证 提交 75c56b5c 编写于 作者: D dengyutao 提交者: Gitee

BlockUntilThreadAvailable接口用例添加

https://gitee.com/openharmony/communication_ipc/issues/I7S741Signed-off-by: Ndengyutao <dengyutao2@huawei.com>
上级 4686ffba
......@@ -496,6 +496,9 @@ HWTEST_F(IPCSkeletonTest, SetCallingIdentityTest002, TestSize.Level1)
HWTEST_F(IPCDfxTest, BlockUntilThreadAvailableTest001, TestSize.Level1)
{
IPCDfx *ipcDfxTest = new IPCDfx();
if (ipcDfxTest == nullptr) {
return;
}
IPCProcessSkeleton *current = IPCProcessSkeleton::GetCurrent();
if (current != nullptr) {
ipcDfxTest->BlockUntilThreadAvailable();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册