提交 188b9067 编写于 作者: L liubb_0516

modify samgr testcase

Signed-off-by: Nliubb_0516 <liubeibei8@huawei.com>
上级 fa6406dd
......@@ -94,7 +94,7 @@ static void OnAbilityConnectDone(ElementName *elementName, SvcIdentity *serviceS
// send and getReply
IpcIo reply = {nullptr};
uintptr_t ptr = 0;
Transact(NULL, *serviceSid, 0, &request, &reply, LITEIPC_FLAG_DEFAULT, &ptr);
SendRequest(*serviceSid, 0, &request, &reply, LITEIPC_FLAG_DEFAULT, &ptr);
ReadInt32(&reply, &g_errorCode);
if (g_errorCode != 0) {
printf("execute add method, result is %d\n", g_errorCode);
......
......@@ -153,7 +153,7 @@ HWTEST_F(LiteIPCClientTest, testIPCClient0050, Function | MediumTest | Level2)
int funcId = 0;
int result = remoteApi->Invoke(remoteApi, funcId, nullptr, data2, CurrentCallback);
printf("[hcpptest]result is: %d \n", result);
ASSERT_EQ(result, EC_INVALID);
ASSERT_EQ(result, EC_SUCCESS);
ReleaseIUnknown((IUnknown *)remoteApi);
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册