Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
0f1e2a0e
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
0f1e2a0e
编写于
3月 17, 2022
作者:
O
openharmony_ci
提交者:
Gitee
3月 17, 2022
浏览文件
操作
浏览文件
下载
差异文件
!2483 测试套ActsUserauthTwoTest失败case修改
Merge pull request !2483 from 胡吉翔/cherry-pick-1647344421
上级
8676ba1a
827b541d
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
3 addition
and
3 deletion
+3
-3
useriam/face_auth/js_api_test/function_test/userauthpart2/entry/src/main/js/test/Security_IAM_Coauth_Func_CallbackJsunit.test.js
...n/js/test/Security_IAM_Coauth_Func_CallbackJsunit.test.js
+1
-1
useriam/face_auth/js_api_test/function_test/userauthpart2/entry/src/main/js/test/Security_IAM_Face_Func_CallbackJsunit.test.js
...ain/js/test/Security_IAM_Face_Func_CallbackJsunit.test.js
+1
-1
useriam/face_auth/js_api_test/function_test/userauthpart2/entry/src/main/js/test/Security_IAM_PIN_Kit_CallbackJsunit.test.js
.../main/js/test/Security_IAM_PIN_Kit_CallbackJsunit.test.js
+1
-1
未找到文件。
useriam/face_auth/js_api_test/function_test/userauthpart2/entry/src/main/js/test/Security_IAM_Coauth_Func_CallbackJsunit.test.js
浏览文件 @
0f1e2a0e
...
@@ -590,7 +590,7 @@ describe('userauthTest', function () {
...
@@ -590,7 +590,7 @@ describe('userauthTest', function () {
},
function
(
onacquireinfo
)
{
},
function
(
onacquireinfo
)
{
})
})
let
cancelresult
=
publicFC
.
publicgecancelAuth
(
UserAuth
,
contextID
);
let
cancelresult
=
publicFC
.
publicgecancelAuth
(
UserAuth
,
contextID
);
await
sleep
(
1
00
);
await
sleep
(
25
00
);
if
(
cancelresult
==
1
){
if
(
cancelresult
==
1
){
console
.
info
(
'
AuthTest_0101 cancel = 1 authresult =
'
+
authresult
);
console
.
info
(
'
AuthTest_0101 cancel = 1 authresult =
'
+
authresult
);
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
authresult
);
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
authresult
);
...
...
useriam/face_auth/js_api_test/function_test/userauthpart2/entry/src/main/js/test/Security_IAM_Face_Func_CallbackJsunit.test.js
浏览文件 @
0f1e2a0e
...
@@ -208,7 +208,7 @@ describe('userauthTest', function () {
...
@@ -208,7 +208,7 @@ describe('userauthTest', function () {
},
function
(
onacquireinfo
)
{
},
function
(
onacquireinfo
)
{
})
})
let
cancelresult
=
publicFC
.
publiccancel
(
UserIDM
,
challenge
);
let
cancelresult
=
publicFC
.
publiccancel
(
UserIDM
,
challenge
);
await
sleep
(
1
00
);
await
sleep
(
25
00
);
if
(
cancelresult
==
1
){
if
(
cancelresult
==
1
){
console
.
info
(
'
Face_AddCred_Func_0103 cancel1 authresult =
'
+
addfaceresult
.
addCredresult
);
console
.
info
(
'
Face_AddCred_Func_0103 cancel1 authresult =
'
+
addfaceresult
.
addCredresult
);
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
addfaceresult
.
addCredresult
);
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
addfaceresult
.
addCredresult
);
...
...
useriam/face_auth/js_api_test/function_test/userauthpart2/entry/src/main/js/test/Security_IAM_PIN_Kit_CallbackJsunit.test.js
浏览文件 @
0f1e2a0e
...
@@ -231,7 +231,7 @@ it('Security_IAM_PIN_Kit_Func_0103', 0, async function (done) {
...
@@ -231,7 +231,7 @@ it('Security_IAM_PIN_Kit_Func_0103', 0, async function (done) {
},
function
(
onacquireinfo
)
{
},
function
(
onacquireinfo
)
{
})
})
let
cancelresult
=
publicFC
.
publicgecancelAuth
(
UserAuthKit
,
contextID
);
let
cancelresult
=
publicFC
.
publicgecancelAuth
(
UserAuthKit
,
contextID
);
await
sleep
(
1
00
);
await
sleep
(
25
00
);
if
(
cancelresult
==
1
){
if
(
cancelresult
==
1
){
console
.
info
(
'
AuthTest_0101 cancel = 1 authresult =
'
+
authresult
);
console
.
info
(
'
AuthTest_0101 cancel = 1 authresult =
'
+
authresult
);
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
authresult
);
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
authresult
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录