Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
ebe7c431
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看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
ebe7c431
编写于
3月 20, 2023
作者:
O
openharmony_ci
提交者:
Gitee
3月 20, 2023
浏览文件
操作
浏览文件
下载
差异文件
!7927 【OpenHarmony 4.0.3.3】【安全子系统】useriam用例接口返回值适配
Merge pull request !7927 from qiaozzzh/0313_1
上级
9bc35f26
aa4cd4c7
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
1 addition
and
41 deletion
+1
-41
useriam/face_auth/js_api_test/function_test/userauthnopermission/src/main/js/test/nopermisson.js
...test/userauthnopermission/src/main/js/test/nopermisson.js
+0
-21
useriam/face_auth/js_api_test/function_test/userauthpart2/src/main/js/test/Security_IAM_FUNC_Jsunit.test.js
...thpart2/src/main/js/test/Security_IAM_FUNC_Jsunit.test.js
+0
-19
useriam/face_auth/js_api_test/function_test/userauthpart2/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/userauthnopermission/src/main/js/test/nopermisson.js
浏览文件 @
ebe7c431
...
...
@@ -166,27 +166,6 @@ describe('userAuthTestExecute', function () {
done
();
})
/*
* @tc.number : Security_IAM_Nopermission_API9_Func_0101
* @tc.name : Kit interface get version
* @tc.size : MediumTest
* @tc.type : Function
* @tc.level : Level 0
*/
it
(
'
Security_IAM_Nopermission_API9_Func_0101
'
,
0
,
async
function
(
done
)
{
try
{
let
getversionresult
=
userAuth
.
getVersion
();
console
.
info
(
'
Security_IAM_Nopermission_API9_Func_0101 getversionresult =
'
+
getversionresult
);
// no permission
expect
(
getversionresult
).
assertEqual
(
201
);
done
();
}
catch
(
e
)
{
console
.
log
(
"
testFace GetVersionTest_0101 fail
"
+
e
.
code
);
expect
(
e
.
code
).
assertEqual
(
201
);
done
();
}
})
/*
* @tc.number : Security_IAM_Nopermisson_Func_0104
* @tc.name : getAvailabeStatus invalid parameters
...
...
useriam/face_auth/js_api_test/function_test/userauthpart2/src/main/js/test/Security_IAM_FUNC_Jsunit.test.js
浏览文件 @
ebe7c431
...
...
@@ -19,25 +19,6 @@ import userAuthNorth from '@ohos.userIAM.userAuth'
export
default
function
userauthTest
()
{
describe
(
'
userauthTest_API9
'
,
function
()
{
/*
* @tc.number : Security_IAM_Func_0101
* @tc.name : Kit interface get version
* @tc.size : MediumTest
* @tc.type : Function
* @tc.level : Level 0
*/
it
(
'
Security_IAM_Func_0101
'
,
0
,
async
function
(
done
)
{
try
{
let
getversionresult
=
userAuthNorth
.
getVersion
();
console
.
info
(
'
GetVersionTest_0101 getversionresult =
'
+
getversionresult
);
expect
(
getversionresult
).
assertEqual
(
0
);
done
();
}
catch
(
e
)
{
console
.
log
(
"
testFace GetVersionTest_0101 fail
"
+
e
.
code
);
expect
(
null
).
assertFail
();
}
})
/*
* @tc.number : Security_IAM_Func_0102
* @tc.name : Kit interface get AvailabeStatus
...
...
useriam/face_auth/js_api_test/function_test/userauthpart2/src/main/js/test/Security_IAM_PIN_Kit_CallbackJsunit.test.js
浏览文件 @
ebe7c431
...
...
@@ -33,7 +33,7 @@ export default function userauthTest() {
let
getversionresult
=
null
;
getversionresult
=
UserAuthKit
.
getVersion
();
console
.
info
(
'
GetVersionTest_0101 getversionresult =
'
+
getversionresult
);
expect
(
getversionresult
).
assertEqual
(
0
);
expect
(
getversionresult
).
assertEqual
(
1
);
done
();
}
catch
(
e
)
{
console
.
log
(
"
testFace GetVersionTest_0101 fail
"
+
e
.
code
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录