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

acts_ipc用例梳理

Signed-off-by: Nyang-qibo <yangqibo1@huawei.com>
上级 516b6c17
......@@ -251,20 +251,6 @@ describe('ActsRpcClientJsTest', function(){
}
}
class Stub extends rpc.RemoteObject {
onRemoteRequest(code, data, reply, option) {
let callerPid = rpc.IPCSkeleton.getCallingPid();
console.info("RpcServer: getCallingPid result: " + callerPid);
let callerUid = rpc.IPCSkeleton.getCallingUid();
console.info("RpcServer: getCallingUid result: " + callerUid);
let callerDeviceID = rpc.IPCSkeleton.getCallingDeviceID();
console.info("RpcServer: getCallingUid result: " + callerDeviceID );
let localDeviceID = rpc.IPCSkeleton.getLocalDeviceID();
console.info("RpcServer: localDeviceID is: " + localDeviceID);
return true;
}
}
function assertArrayElementEqual(actual, expected) {
expect(actual.length).assertEqual(expected.length)
for (let i = 0; i < actual.length; i++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册