未验证 提交 6a952b5e 编写于 作者: O openharmony_ci 提交者: Gitee

!4575 合入一些接口覆盖

Merge pull request !4575 from 伞木希美/OpenHarmony-3.1-Release
......@@ -34,8 +34,10 @@ let genHuksOptions = {
async function publicGenerateKeyFunc(srcKeyAlies, genHuksOptionsNONC) {
await generateKey(srcKeyAlies, genHuksOptionsNONC)
.then((data) => {
console.log(`test generateKey data: ${JSON.stringify(data)}`);
console.error(`test generateKey data: ${JSON.stringify(data)}`);
expect(data.errorCode == 0).assertTrue();
expect(data.outData == null).assertTrue();
expect(data.properties == null).assertTrue();
})
.catch((err) => {
console.log('test generateKey err information: ' + JSON.stringify(err));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册