From 05f06897cb5a5a13576c25785c81cacd417cee55 Mon Sep 17 00:00:00 2001 From: yang-qibo Date: Fri, 23 Sep 2022 18:35:56 +0800 Subject: [PATCH] =?UTF-8?q?ipc=E6=96=B0=E5=A2=9EonRemoteRequestEx=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yang-qibo --- .../dsoftbus/rpc/src/main/js/test/RpcClientJsunit.test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/communication/dsoftbus/rpc/src/main/js/test/RpcClientJsunit.test.js b/communication/dsoftbus/rpc/src/main/js/test/RpcClientJsunit.test.js index 52c0dba39..f758c73f9 100755 --- a/communication/dsoftbus/rpc/src/main/js/test/RpcClientJsunit.test.js +++ b/communication/dsoftbus/rpc/src/main/js/test/RpcClientJsunit.test.js @@ -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){ -- GitLab