提交 05f06897 编写于 作者: Y yang-qibo

ipc新增onRemoteRequestEx接口用例

Signed-off-by: Nyang-qibo <yangqibo1@huawei.com>
上级 e5eb98a0
......@@ -5741,8 +5741,8 @@ describe('ActsRpcClientJsTest', function(){
let rawdata = [1, 2, 3];
let option = new rpc.MessageOption();
let reply = rpc.MessageParcel.create();
expect(data.writeInt(K)).assertTrue();
let result = data.writeRawData(rawdata, K);
expect(data.writeInt(rawdata.length)).assertTrue();
let result = data.writeRawData(rawdata, rawdata.length);
console.info("SUB_Softbus_IPC_Compatility_MessageParcel_15000:run writeRawDatais is " + result);
expect(result).assertTrue();
if (gIRemoteObject == undefined){
......@@ -5861,8 +5861,8 @@ describe('ActsRpcClientJsTest', function(){
let rawdata = [1, 2, 3];
let option = new rpc.MessageOption();
let reply = rpc.MessageParcel.create();
expect(data.writeInt(K)).assertTrue();
let result = data.writeRawData(rawdata, K);
expect(data.writeInt(rawdata.length)).assertTrue();
let result = data.writeRawData(rawdata, rawdata.length);
console.info("SUB_Softbus_IPC_Compatility_MessageParcel_15400:run writeRawData is " + result);
expect(result).assertTrue();
if (gIRemoteObject == undefined){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册