From 938de363c47ea692030d11788aaed68270846c7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=90=AF=E5=8D=9A?= Date: Mon, 3 Jul 2023 19:41:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96hap=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 杨启博 --- .../dsoftbus/rpc/src/main/js/test/RpcClientJsunit.test.js | 8 ++++++++ .../src/main/resources/base/element/string.json | 6 +++--- 2 files changed, 11 insertions(+), 3 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 bb5d539f0..cf453e4ef 100755 --- a/communication/dsoftbus/rpc/src/main/js/test/RpcClientJsunit.test.js +++ b/communication/dsoftbus/rpc/src/main/js/test/RpcClientJsunit.test.js @@ -1670,6 +1670,7 @@ export default function actsRpcClientJsTest() { expect(error == null).assertTrue(); } finally{ data.reclaim(); + reply.reclaim(); } console.info("---------------------end SUB_Softbus_IPC_Compatibility_MessageSequence_02900---------------------------"); }); @@ -1704,6 +1705,7 @@ export default function actsRpcClientJsTest() { expect(error == null).assertTrue(); } finally{ data.reclaim(); + reply.reclaim(); } console.info("---------------------end SUB_Softbus_IPC_Compatibility_MessageSequence_03000---------------------------"); }); @@ -6916,6 +6918,7 @@ export default function actsRpcClientJsTest() { expect(error==null).assertTrue(); } finally{ data.reclaim(); + reply.reclaim(); } console.info("---------------------end SUB_Softbus_IPC_Compatibility_MessageParcel_05600---------------------------"); }); @@ -6950,6 +6953,7 @@ export default function actsRpcClientJsTest() { expect(error==null).assertTrue(); } finally{ data.reclaim(); + reply.reclaim(); } console.info("---------------------end SUB_Softbus_IPC_Compatibility_MessageParcel_05700---------------------------"); }); @@ -6981,6 +6985,7 @@ export default function actsRpcClientJsTest() { expect(error==null).assertTrue(); } finally{ data.reclaim(); + reply.reclaim(); } console.info("---------------------end SUB_Softbus_IPC_Compatibility_MessageParcel_05800---------------------------"); }); @@ -7342,6 +7347,7 @@ export default function actsRpcClientJsTest() { expect(error==null).assertTrue(); } finally{ data.reclaim(); + reply.reclaim(); done(); } console.info("---------------------end SUB_Softbus_IPC_Compatibility_MessageParcel_06900---------------------------"); @@ -7373,6 +7379,7 @@ export default function actsRpcClientJsTest() { expect(error==null).assertTrue(); } finally{ data.reclaim(); + reply.reclaim(); done(); } console.info("---------------------end SUB_Softbus_IPC_Compatibility_MessageParcel_07000---------------------------"); @@ -7404,6 +7411,7 @@ export default function actsRpcClientJsTest() { expect(error==null).assertTrue(); } finally{ data.reclaim(); + reply.reclaim(); done(); } console.info("---------------------end SUB_Softbus_IPC_Compatibility_MessageParcel_07100---------------------------"); diff --git a/communication/dsoftbus/rpc_request/src/main/resources/base/element/string.json b/communication/dsoftbus/rpc_request/src/main/resources/base/element/string.json index 95c259acf..8adf6924c 100644 --- a/communication/dsoftbus/rpc_request/src/main/resources/base/element/string.json +++ b/communication/dsoftbus/rpc_request/src/main/resources/base/element/string.json @@ -2,7 +2,7 @@ "string": [ { "name": "app_name", - "value": "rpctest" + "value": "rpcrequesttest" }, { "name": "mainability_description", @@ -14,7 +14,7 @@ }, { "name": "MainAbility_label", - "value": "label" + "value": "rpcrequesttest" }, { "name": "TestAbility_desc", @@ -22,7 +22,7 @@ }, { "name": "TestAbility_label", - "value": "label" + "value": "rpcrequesttest" } ] } \ No newline at end of file -- GitLab