Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
7e76bf46
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看板
未验证
提交
7e76bf46
编写于
5月 19, 2022
作者:
O
openharmony_ci
提交者:
Gitee
5月 19, 2022
浏览文件
操作
浏览文件
下载
差异文件
!3206 人脸测试套适配修改
Merge pull request !3206 from 胡吉翔/useriam_0518
上级
fdcacabe
7a003e2b
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
42 addition
and
470 deletion
+42
-470
useriam/face_auth/js_api_test/function_test/userauthpart2/entry/src/main/js/test/Publicfunction-n.js
.../userauthpart2/entry/src/main/js/test/Publicfunction-n.js
+9
-4
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
+21
-261
useriam/face_auth/js_api_test/function_test/userauthpart2/entry/src/main/js/test/Security_IAM_Face_DFX_CallbackJsunit.test.js
...main/js/test/Security_IAM_Face_DFX_CallbackJsunit.test.js
+6
-115
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
+5
-13
useriam/face_auth/js_api_test/function_test/userauthpart2/entry/src/main/js/test/Security_IAM_Interface_DFX_CallbackJsunit.test.js
...js/test/Security_IAM_Interface_DFX_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
+0
-76
未找到文件。
useriam/face_auth/js_api_test/function_test/userauthpart2/entry/src/main/js/test/Publicfunction-n.js
浏览文件 @
7e76bf46
...
...
@@ -31,11 +31,16 @@ function publicRegisterInputer(PinAuth,AuthSubType,Inputerdata){
try
{
console
.
info
(
'
testFace publicRegisterInputer in try
'
);
console
.
info
(
'
testFace publicRegisterInputer PinAuth =
'
+
PinAuth
);
let
GetAuthSubType
=
0
;
let
registerresult
=
PinAuth
.
registerInputer
({
onGetData
:
(
AuthSubType
,
IInputData
)
=>
{
console
.
info
(
'
testFace faceDemo registerInputer AuthSubType
'
);
console
.
info
(
'
testFace faceDemo registerInputer AuthSubType111
'
);
IInputData
.
onSetData
(
AuthSubType
,
Inputerdata
)
onGetData
:
(
GetAuthSubType
,
IInputData
)
=>
{
if
(
GetAuthSubType
==
0
)
{
console
.
info
(
'
testFace faceDemo registerInputer AuthSubType
'
);
console
.
info
(
'
testFace faceDemo registerInputer AuthSubType111
'
);
IInputData
.
onSetData
(
AuthSubType
,
Inputerdata
)
}
else
{
IInputData
.
onSetData
(
GetAuthSubType
,
Inputerdata
)
}
}
})
console
.
log
(
"
testFace publicRegisterInputer result is:
"
+
registerresult
);
...
...
useriam/face_auth/js_api_test/function_test/userauthpart2/entry/src/main/js/test/Security_IAM_Coauth_Func_CallbackJsunit.test.js
浏览文件 @
7e76bf46
...
...
@@ -178,64 +178,6 @@ describe('userauthTest', function () {
expect
(
null
).
assertFail
();
}
})
/*
* @tc.number : Security_IAM_Coauth_Func_0104
* @tc.name : Inquire face credential information
* @tc.size : MediumTest
* @tc.type : Function
* @tc.level : Level 2
*/
it
(
'
Security_IAM_Coauth_Func_0104
'
,
3
,
async
function
(
done
)
{
try
{
publicFC
.
publicRegisterInputer
(
PinAuth
,
AuthSubType
.
PIN_SIX
,
Inputerdata
)
publicFC
.
publicOpenSession
(
UserIDM
,
function
(
data
){
let
challenge
=
data
publicFC
.
publicaddCredential
(
UserIDM
,
CredentialInfopinsix
,
function
(
onresult
)
{
console
.
info
(
'
testFace Coauth_Func_0104 addCredresult =
'
+
onresult
.
addCredresult
);
publicFC
.
publicauth
(
UserAuth
,
challenge
,
AuthType
.
PIN
,
AuthTurstLevel
.
ATL1
,
function
(
onresult
)
{
console
.
info
(
'
testFace Coauth_Func_0104 addCred onResult =
'
+
JSON
.
stringify
(
onresult
));
let
token
=
onresult
.
authextr
.
token
CredentialInfoface2d
.
token
=
token
publicFC
.
publicaddCredential
(
UserIDM
,
CredentialInfoface2d
,
function
(
onresult
)
{
console
.
log
(
"
testFace Coauth_Func_0104 addface=
"
+
onresult
.
addCredresult
)
publicFC
.
publicgetAuthInfo
(
UserIDM
,
AuthType
.
FACE
,
function
(
AsyncCallback
)
{
console
.
log
(
"
testFace Coauth_Func_0104 getAuthInfo=
"
+
JSON
.
stringify
(
AsyncCallback
))
expect
(
AuthSubType
.
FACE_2D
).
assertEqual
(
AsyncCallback
[
0
].
authSubType
);
publicFC
.
publicgetAuthInfo
(
UserIDM
,
AuthType
.
PIN
,
function
(
AsyncCallback
)
{
console
.
log
(
"
testFace Coauth_Func_0104 getAuthInfo =
"
+
JSON
.
stringify
(
AsyncCallback
))
expect
(
AuthSubType
.
PIN_SIX
).
assertEqual
(
AsyncCallback
[
0
].
authSubType
);
publicFC
.
publicdelUser
(
UserIDM
,
token
,
function
(
onresult
){
let
delresult
=
onresult
.
delUserresult
;
console
.
log
(
"
testFace Coauth_Func_0104 delUser=
"
+
delresult
)
publicFC
.
publicCloseSession
(
UserIDM
,
function
(
data
){
console
.
log
(
"
testFaceCoauth_Func_0104 CloseSession=
"
+
data
)
publicFC
.
publicunRegisterInputer
(
PinAuth
,
function
(
data
){
done
();
})
})
},
function
(
onacquireinfo
){
})
})
})
},
function
(
onAcquireInfo
)
{
})
},
function
(
onAcquireInfo
)
{
}
);
},
function
(
onAcquireInfo
)
{
});
})
}
catch
(
e
)
{
console
.
log
(
"
Security_IAM_Coauth_Func_0104 fail
"
+
e
);
expect
(
null
).
assertFail
();
}
})
/*
* @tc.number : Security_IAM_Coauth_Func_0105
...
...
@@ -286,89 +228,35 @@ describe('userauthTest', function () {
})
/*
* @tc.number : Security_IAM_Coauth_Func_0106
* @tc.name : Inquire all credential information with two credential
* @tc.size : MediumTest
* @tc.type : Function
* @tc.level : Level 1
*/
it
(
'
Security_IAM_Coauth_Func_0106
'
,
3
,
async
function
(
done
)
{
try
{
publicFC
.
publicRegisterInputer
(
PinAuth
,
AuthSubType
.
PIN_SIX
,
Inputerdata
)
publicFC
.
publicOpenSession
(
UserIDM
,
function
(
data
){
let
challenge
=
data
publicFC
.
publicaddCredential
(
UserIDM
,
CredentialInfopinsix
,
function
(
onresult
)
{
console
.
info
(
'
testFace Coauth_Func_0106 addCredresult =
'
+
onresult
.
addCredresult
);
publicFC
.
publicauth
(
UserAuth
,
challenge
,
AuthType
.
PIN
,
AuthTurstLevel
.
ATL1
,
function
(
onresult
)
{
console
.
info
(
'
testFace Coauth_Func_0106 addCred=
'
+
JSON
.
stringify
(
onresult
));
let
token
=
onresult
.
authextr
.
token
CredentialInfoface2d
.
token
=
token
publicFC
.
publicaddCredential
(
UserIDM
,
CredentialInfoface2d
,
function
(
onresult
)
{
console
.
log
(
"
testFace Coauth_Func_0106 addCface =
"
+
onresult
.
addCredresult
)
publicFC
.
publicgetallAuthInfo
(
UserIDM
,
function
(
AsyncCallback
)
{
console
.
log
(
"
testFace Coauth_Func_0106 getAuthInfo =
"
+
JSON
.
stringify
(
AsyncCallback
))
expect
(
AuthSubType
.
PIN_SIX
).
assertEqual
(
AsyncCallback
[
1
].
authSubType
);
expect
(
AuthType
.
PIN
).
assertEqual
(
AsyncCallback
[
1
].
authType
);
expect
(
AuthSubType
.
FACE_2D
).
assertEqual
(
AsyncCallback
[
0
].
authSubType
);
expect
(
AuthType
.
FACE
).
assertEqual
(
AsyncCallback
[
0
].
authType
);
publicFC
.
publicdelUser
(
UserIDM
,
token
,
function
(
onresult
){
console
.
log
(
"
testFace Coauth_Func_0106delUser=
"
+
onresult
.
delUserresult
)
publicFC
.
publicCloseSession
(
UserIDM
,
function
(
data
){
console
.
log
(
"
testFace Coauth_Func_0106 CloseSession =
"
+
data
)
publicFC
.
publicunRegisterInputer
(
PinAuth
,
function
(
data
){
done
();
})
})
},
function
(
onacquireinfo
){
})
})
},
function
(
onAcquireInfo
)
{
})
},
function
(
onAcquireInfo
)
{
}
);
},
function
(
onAcquireInfo
)
{
});
})
}
catch
(
e
)
{
console
.
log
(
"
Security_IAM_Coauth_Func_0106 fail
"
+
e
);
expect
(
null
).
assertFail
();
}
})
/*
* @tc.number : Security_IAM_Coauth_Func_0108
* @tc.number : Security_IAM_Coauth_Func_0109
* @tc.name : Get face availabe status
* @tc.size : MediumTest
* @tc.type : Function
* @tc.level : Level 3
*/
it
(
'
Security_IAM_Coauth_Func_010
8
'
,
3
,
async
function
(
done
)
{
it
(
'
Security_IAM_Coauth_Func_010
9
'
,
3
,
async
function
(
done
)
{
try
{
publicFC
.
publicRegisterInputer
(
PinAuth
,
AuthSubType
.
PIN_SIX
,
Inputerdata
)
publicFC
.
publicOpenSession
(
UserIDM
,
function
(
data
){
let
challenge
=
data
publicFC
.
publicaddCredential
(
UserIDM
,
CredentialInfopinsix
,
function
(
onresult
)
{
console
.
info
(
'
testFace Coauth_Func_010
8
addCredresult =
'
+
onresult
.
addCredresult
);
console
.
log
(
"
testFace faceDemo Coauth_Func_010
8
authUser =
"
+
onresult
.
addCredresult
);
console
.
info
(
'
testFace Coauth_Func_010
9
addCredresult =
'
+
onresult
.
addCredresult
);
console
.
log
(
"
testFace faceDemo Coauth_Func_010
9
authUser =
"
+
onresult
.
addCredresult
);
publicFC
.
publicauth
(
UserAuth
,
challenge
,
AuthType
.
PIN
,
AuthTurstLevel
.
ATL1
,
function
(
onresult
)
{
console
.
info
(
'
testFace Coauth_Func_010
8
addCred =
'
+
JSON
.
stringify
(
onresult
));
console
.
info
(
'
testFace Coauth_Func_010
9
addCred =
'
+
JSON
.
stringify
(
onresult
));
let
token
=
onresult
.
authextr
.
token
CredentialInfoface2d
.
token
=
token
publicFC
.
publicaddCredential
(
UserIDM
,
CredentialInfoface2d
,
function
(
onresult
)
{
console
.
info
(
'
testFace Coauth_Func_010
8
ddCredentialface=
'
+
onresult
.
authresult
);
console
.
log
(
"
testFace Coauth_Func_010
8
addface result =
"
+
onresult
.
addCredresult
)
console
.
info
(
'
testFace Coauth_Func_010
9
ddCredentialface=
'
+
onresult
.
authresult
);
console
.
log
(
"
testFace Coauth_Func_010
9
addface result =
"
+
onresult
.
addCredresult
)
let
AvailabeStatus
=
publicFC
.
publicgetAvailabeStatus
(
UserAuth
,
AuthType
.
FACE
,
AuthTurstLevel
.
ATL1
)
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
AvailabeStatus
);
expect
(
ResultCode
.
TRUST_LEVEL_NOT_SUPPORT
).
assertEqual
(
AvailabeStatus
);
AvailabeStatus
=
publicFC
.
publicgetAvailabeStatus
(
UserAuth
,
AuthType
.
FACE
,
AuthTurstLevel
.
ATL2
)
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
AvailabeStatus
);
expect
(
ResultCode
.
TRUST_LEVEL_NOT_SUPPORT
).
assertEqual
(
AvailabeStatus
);
AvailabeStatus
=
publicFC
.
publicgetAvailabeStatus
(
UserAuth
,
AuthType
.
FACE
,
AuthTurstLevel
.
ATL3
)
expect
(
ResultCode
.
TRUST_LEVEL_NOT_SUPPORT
).
assertEqual
(
AvailabeStatus
);
...
...
@@ -376,9 +264,9 @@ describe('userauthTest', function () {
UserAuth
,
AuthType
.
FACE
,
AuthTurstLevel
.
ATL4
)
expect
(
ResultCode
.
TRUST_LEVEL_NOT_SUPPORT
).
assertEqual
(
AvailabeStatus
);
publicFC
.
publicdelUser
(
UserIDM
,
token
,
function
(
onresult
){
console
.
log
(
"
testFace Coauth_Func_010
8
delUser =
"
+
onresult
.
delUserresult
)
console
.
log
(
"
testFace Coauth_Func_010
9
delUser =
"
+
onresult
.
delUserresult
)
publicFC
.
publicCloseSession
(
UserIDM
,
function
(
data
){
console
.
log
(
"
testFace Coauth_Func_010
8
CloseSession callback =
"
+
data
)
console
.
log
(
"
testFace Coauth_Func_010
9
CloseSession callback =
"
+
data
)
publicFC
.
publicunRegisterInputer
(
PinAuth
,
function
(
data
){
done
();
})
...
...
@@ -400,13 +288,13 @@ describe('userauthTest', function () {
})
/*
* @tc.number : Security_IAM_Coauth_Func_010
9
* @tc.number : Security_IAM_Coauth_Func_010
8
* @tc.name : Get pin availabe status
* @tc.size : MediumTest
* @tc.type : Function
* @tc.level : Level 3
*/
it
(
'
Security_IAM_Coauth_Func_010
9
'
,
2
,
async
function
(
done
)
{
it
(
'
Security_IAM_Coauth_Func_010
8
'
,
2
,
async
function
(
done
)
{
try
{
publicFC
.
publicRegisterInputer
(
PinAuth
,
AuthSubType
.
PIN_SIX
,
Inputerdata
)
publicFC
.
publicOpenSession
(
UserIDM
,
function
(
data
){
...
...
@@ -414,28 +302,28 @@ describe('userauthTest', function () {
publicFC
.
publicaddCredential
(
UserIDM
,
CredentialInfopinsix
,
function
(
onresult
)
{
console
.
info
(
'
testFace Coauth_Func_0108 addCredresult =
'
+
onresult
.
addCredresult
);
console
.
log
(
"
testFace Coauth_Func_010
9
authUser result =
"
+
onresult
.
addCredresult
);
console
.
log
(
"
testFace Coauth_Func_010
8
authUser result =
"
+
onresult
.
addCredresult
);
let
AvailabeStatus
AvailabeStatus
=
publicFC
.
publicgetAvailabeStatus
(
UserAuth
,
AuthType
.
PIN
,
AuthTurstLevel
.
ATL1
)
console
.
info
(
'
testFace Security_IAM_Coauth_Func_010
9
AvailabeStatus1 =
'
+
AvailabeStatus
);
console
.
info
(
'
testFace Security_IAM_Coauth_Func_010
8
AvailabeStatus1 =
'
+
AvailabeStatus
);
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
AvailabeStatus
);
AvailabeStatus
=
publicFC
.
publicgetAvailabeStatus
(
UserAuth
,
AuthType
.
PIN
,
AuthTurstLevel
.
ATL2
)
console
.
info
(
'
testFace Security_IAM_Coauth_Func_010
9
AvailabeStatus2 =
'
+
AvailabeStatus
);
console
.
info
(
'
testFace Security_IAM_Coauth_Func_010
8
AvailabeStatus2 =
'
+
AvailabeStatus
);
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
AvailabeStatus
);
AvailabeStatus
=
publicFC
.
publicgetAvailabeStatus
(
UserAuth
,
AuthType
.
PIN
,
AuthTurstLevel
.
ATL3
)
console
.
info
(
'
testFace Security_IAM_Coauth_Func_010
9
AvailabeStatus3 =
'
+
AvailabeStatus
);
console
.
info
(
'
testFace Security_IAM_Coauth_Func_010
8
AvailabeStatus3 =
'
+
AvailabeStatus
);
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
AvailabeStatus
);
AvailabeStatus
=
publicFC
.
publicgetAvailabeStatus
(
UserAuth
,
AuthType
.
PIN
,
AuthTurstLevel
.
ATL4
)
console
.
info
(
'
testFace Security_IAM_Coauth_Func_010
9
AvailabeStatus4 =
'
+
AvailabeStatus
);
console
.
info
(
'
testFace Security_IAM_Coauth_Func_010
8
AvailabeStatus4 =
'
+
AvailabeStatus
);
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
AvailabeStatus
);
publicFC
.
publicauth
(
UserAuth
,
challenge
,
AuthType
.
PIN
,
AuthTurstLevel
.
ATL1
,
function
(
onresult
)
{
console
.
info
(
'
testFace Coauth_Func_010
9
addCred onResult =
'
+
onresult
.
authresult
);
console
.
info
(
'
testFace Coauth_Func_010
8
addCred onResult =
'
+
onresult
.
authresult
);
let
token
=
onresult
.
authextr
.
token
publicFC
.
publicdelUser
(
UserIDM
,
token
,
function
(
onresult
){
console
.
log
(
"
testFace Coauth_Func_010
9
delUser result=
"
+
onresult
.
delUserresult
)
console
.
log
(
"
testFace Coauth_Func_010
8
delUser result=
"
+
onresult
.
delUserresult
)
publicFC
.
publicCloseSession
(
UserIDM
,
function
(
data
){
console
.
log
(
"
testFace Coauth_Func_010
9
CloseSession callback =
"
+
data
)
console
.
log
(
"
testFace Coauth_Func_010
8
CloseSession callback =
"
+
data
)
publicFC
.
publicunRegisterInputer
(
PinAuth
,
function
(
data
){
done
();
})
...
...
@@ -453,58 +341,6 @@ describe('userauthTest', function () {
expect
(
null
).
assertFail
();
}
})
/*
* @tc.number : Security_IAM_Coauth_Func_0110
* @tc.name : Get pin and face property
* @tc.size : MediumTest
* @tc.type : Function
* @tc.level : Level 3
*/
it
(
'
Security_IAM_Coauth_Func_0110
'
,
3
,
async
function
(
done
)
{
try
{
publicFC
.
publicRegisterInputer
(
PinAuth
,
AuthSubType
.
PIN_SIX
,
Inputerdata
)
publicFC
.
publicOpenSession
(
UserIDM
,
function
(
data
){
let
challenge
=
data
publicFC
.
publicaddCredential
(
UserIDM
,
CredentialInfopinsix
,
function
(
onresult
)
{
console
.
info
(
'
testFace Coauth_Func_0110 addCredresult =
'
+
onresult
.
addCredresult
);
publicFC
.
publicauth
(
UserAuth
,
challenge
,
AuthType
.
PIN
,
AuthTurstLevel
.
ATL1
,
function
(
onresult
)
{
console
.
info
(
'
testFace Coauth_Func_0110 addCred onResult =
'
+
JSON
.
stringify
(
onresult
));
let
token
=
onresult
.
authextr
.
token
CredentialInfoface2d
.
token
=
token
publicFC
.
publicaddCredential
(
UserIDM
,
CredentialInfoface2d
,
function
(
onresult
)
{
console
.
log
(
"
testFace Coauth_Func_0110 ddCredentialface =
"
+
onresult
.
addCredresult
)
publicFC
.
publicgetProperty
(
UserAuth
,
GetPropertyRequestface
,
function
(
onresult
)
{
console
.
log
(
"
testFace Coauth_Func_0110 GetPropertyface =
"
+
JSON
.
stringify
(
onresult
))
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
onresult
.
result
);
expect
(
AuthSubType
.
FACE_2D
).
assertEqual
(
onresult
.
authSubType
);
publicFC
.
publicgetProperty
(
UserAuth
,
GetPropertyRequestpin
,
function
(
onresult
)
{
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
onresult
.
result
);
expect
(
AuthSubType
.
PIN_SIX
).
assertEqual
(
onresult
.
authSubType
);
publicFC
.
publicdelUser
(
UserIDM
,
token
,
function
(
onresult
){
console
.
log
(
"
testFace Coauth_Func_0110 delUser=
"
+
onresult
.
delUserresult
)
publicFC
.
publicCloseSession
(
UserIDM
,
function
(
data
){
console
.
log
(
"
testFace Coauth_Func_0110 CloseSession callback =
"
+
data
)
publicFC
.
publicunRegisterInputer
(
PinAuth
,
function
(
data
){
done
();
})
})
},
function
(
onacquireinfo
){
})
})
})
},
function
(
onAcquireInfo
)
{
})
},
function
(
onAcquireInfo
)
{
}
)},
function
(
onAcquireInfo
)
{
})
})
}
catch
(
e
)
{
console
.
log
(
"
Security_IAM_Coauth_Func_0110 fail
"
+
e
);
expect
(
null
).
assertFail
();
}
})
/*
* @tc.number : Security_IAM_Coauth_Func_0112
...
...
@@ -601,82 +437,6 @@ describe('userauthTest', function () {
}
})
/*
* @tc.number : Security_IAM_Coauth_Func_0122
* @tc.name : Cancel auth face.
* @tc.size : MediumTest
* @tc.type : Function
* @tc.level : Level 0
*/
it
(
'
Security_IAM_Coauth_Func_0122
'
,
0
,
async
function
(
done
)
{
try
{
publicFC
.
publicRegisterInputer
(
PinAuth
,
AuthSubType
.
PIN_SIX
,
Inputerdata
)
let
challenge
;
publicFC
.
publicOpenSession
(
UserIDM
,
function
(
data
)
{
console
.
info
(
'
Security_IAM_Coauth_Func_0122 openSession challenge =
'
+
data
);
challenge
=
data
;
publicFC
.
publicaddCredential
(
UserIDM
,
CredentialInfopinsix
,
function
(
onresult
)
{
console
.
info
(
'
Security_IAM_Coauth_Func_0122 addCredential Result1 =
'
+
JSON
.
stringify
(
onresult
));
let
info101
;
publicFC
.
publicauth
(
UserAuth
,
challenge
,
AuthType
.
PIN
,
AuthTurstLevel
.
ATL1
,
function
(
data
)
{
console
.
info
(
'
Coauth_Func_0122 auth onResult =
'
+
JSON
.
stringify
(
data
));
info101
=
data
;
let
token
=
info101
.
authextr
.
token
;
CredentialInfoface2d
.
token
=
token
;
let
addfaceresult
;
publicFC
.
publicaddCredential
(
UserIDM
,
CredentialInfoface2d
,
function
(
onresult
)
{
console
.
info
(
'
Coauth_Func_0122 addCredential Result2=
'
+
JSON
.
stringify
(
onresult
));
addfaceresult
=
onresult
;
console
.
info
(
'
Coauth_Func_0122 publicaddCredential =
'
+
addfaceresult
.
addCredresult
);
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
addfaceresult
.
addCredresult
);
publicFC
.
publicauth
(
UserAuth
,
challenge
,
AuthType
.
FACE
,
10000
,
async
function
(
data
)
{
let
faceauth101
=
data
;
console
.
info
(
'
Coauth_Func_0122 publicauth =
'
+
faceauth101
.
authresult
);
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
faceauth101
.
authresult
);
let
authresult
;
let
contextID
=
await
publicFC
.
publicauth
(
UserAuth
,
challenge
,
AuthType
.
FACE
,
10000
,
function
(
data
)
{
console
.
info
(
'
Coauth_Func_0122 addCred=
'
+
JSON
.
stringify
(
data
.
authresult
));
authresult
=
data
.
authresult
;
},
function
(
onacquireinfo
)
{
})
let
cancelresult
=
publicFC
.
publicgecancelAuth
(
UserAuth
,
contextID
);
await
sleep
(
2500
);
if
(
cancelresult
==
1
){
console
.
info
(
'
AuthTest_0101 cancel = 1 authresult =
'
+
authresult
);
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
authresult
);
}
else
if
(
cancelresult
==
0
){
console
.
info
(
'
AuthTest_0101 cancel = 0 authresult =
'
+
authresult
);
console
.
info
(
'
AuthTest_0101 cancel = 0 ResultCode.FAIL =
'
+
ResultCode
.
FAIL
);
expect
(
ResultCode
.
CANCELED
).
assertEqual
(
authresult
);
}
console
.
info
(
'
testFace AuthTest_0101 onResult =
'
+
JSON
.
stringify
(
data
));
await
publicFC
.
publicdelUser
(
UserIDM
,
token
,
function
(
data
)
{
console
.
info
(
'
AuthTest_0101 delUser =
'
+
JSON
.
stringify
(
data
));
publicFC
.
publicCloseSession
(
UserIDM
,
function
(
data
)
{
console
.
info
(
'
AuthTest_0101 closeSession
'
);
publicFC
.
publicunRegisterInputer
(
PinAuth
,
function
(
data
)
{
console
.
info
(
'
AuthTest_0101 unRegister
'
);
done
();
})
})
},
function
(
onacquireinfo
)
{
})
},
function
(
onacquireinfo
)
{
})
},
function
(
onacquireinfo
)
{
})
},
function
(
data
)
{
})
},
function
(
onacquireinfo
)
{
})
})
}
catch
(
e
)
{
console
.
log
(
"
AuthTest_0101 fail
"
+
e
);
expect
(
null
).
assertFail
();
}
})
/*
* @tc.number : Security_IAM_Coauth_Func_0113
* @tc.name : Anti violence cracking with five times
...
...
useriam/face_auth/js_api_test/function_test/userauthpart2/entry/src/main/js/test/Security_IAM_Face_DFX_CallbackJsunit.test.js
浏览文件 @
7e76bf46
...
...
@@ -175,59 +175,6 @@ describe('userauthTest', function () {
}
})
/*
* @tc.number : Security_IAM_Face_AddCred_DFX_0104
* @tc.name : Can't add face with no pin
* @tc.size : MediumTest
* @tc.type : Function
* @tc.level : Level 2
*/
it
(
'
Security_IAM_Face_AddCred_DFX_0104
'
,
2
,
async
function
(
done
)
{
try
{
publicFC
.
publicRegisterInputer
(
PinAuth
,
AuthSubType
.
PIN_SIX
,
Inputerdata
)
publicFC
.
publicOpenSession
(
UserIDM
,
function
(
data
)
{
let
challenge
=
data
;
console
.
info
(
"
Security_IAM_Face_AddCred_DFX_0104 challenge =
"
+
challenge
)
publicFC
.
publicaddCredential
(
UserIDM
,
CredentialInfopinsix
,
function
(
data
)
{
publicFC
.
publicauth
(
UserAuth
,
challenge
,
AuthType
.
PIN
,
AuthTurstLevel
.
ATL1
,
function
(
data
)
{
console
.
info
(
"
Security_IAM_Face_AddCred_DFX_0104 info101 =
"
+
JSON
.
stringify
(
data
))
let
token
=
data
.
authextr
.
token
CredentialInfoface2d
.
token
=
token
console
.
info
(
"
Security_IAM_Face_AddCred_DFX_0104 token =
"
+
token
)
publicFC
.
publicaddCredential
(
UserIDM
,
CredentialInfoface2d
,
function
(
data
)
{
console
.
info
(
"
Face_AddCred_DFX_0104 addfaceresult1 =
"
+
JSON
.
stringify
(
data
))
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
data
.
addCredresult
);
publicFC
.
publicaddCredential
(
UserIDM
,
CredentialInfoface2d
,
function
(
data
)
{
console
.
info
(
"
Face_AddCred_DFX_0104 addfaceresult2 =
"
+
JSON
.
stringify
(
data
))
expect
(
ResultCode
.
FAIL
).
assertEqual
(
data
.
addCredresult
);
publicFC
.
publicdelUser
(
UserIDM
,
token
,
function
(
data
)
{
let
deluserresult
=
data
.
delUserresult
console
.
info
(
"
Security_IAM_Face_AddCred_DFX_0104 deluserresult =
"
+
deluserresult
)
publicFC
.
publicCloseSession
(
UserIDM
,
function
(
data
)
{
console
.
info
(
"
Security_IAM_Face_AddCred_DFX_0104 closesession =
"
+
data
)
publicFC
.
publicunRegisterInputer
(
PinAuth
,
function
(
data
)
{
console
.
info
(
"
Security_IAM_Face_AddCred_DFX_0104 unRegist =
"
+
data
)
done
();
})
})
},
function
(
data
)
{
})
},
function
(
data
)
{
})
},
function
(
data
)
{
})
},
function
(
data
)
{
})
},
function
(
data
)
{
})
})
}
catch
(
e
)
{
console
.
log
(
"
Security_IAM_Face_AddCred_DFX_0104 fail
"
+
e
);
expect
(
null
).
assertFail
();
}
})
/*
* @tc.number : Security_IAM_Face_Delet_DFX_0104
* @tc.name : Delete face with no pin
...
...
@@ -245,8 +192,8 @@ describe('userauthTest', function () {
publicFC
.
publicdelCred
(
UserIDM
,
"
credentialId
"
,
"
token
"
,
function
(
data
)
{
console
.
info
(
"
Security_IAM_Face_Delet_DFX_0104 info101 =
"
+
JSON
.
stringify
(
data
))
console
.
info
(
"
Security_IAM_Face_Delet_DFX_0104 delCredresult =
"
+
data
.
delCredresult
)
console
.
info
(
"
Security_IAM_Face_Delet_DFX_0104 ResultCode.FAIL =
"
+
ResultCode
.
FAIL
)
expect
(
ResultCode
.
Authfail
).
assertEqual
(
data
.
delCredresult
);
console
.
info
(
"
Security_IAM_Face_Delet_DFX_0104 ResultCode.FAIL =
"
+
ResultCode
.
GENERAL_ERROR
)
expect
(
ResultCode
.
GENERAL_ERROR
).
assertEqual
(
data
.
delCredresult
);
publicFC
.
publicCloseSession
(
UserIDM
,
function
(
data
)
{
console
.
info
(
"
Security_IAM_Face_Delet_DFX_0104 closesession =
"
+
data
)
publicFC
.
publicunRegisterInputer
(
PinAuth
,
function
(
data
)
{
...
...
@@ -283,8 +230,8 @@ describe('userauthTest', function () {
let
info102
=
data
console
.
info
(
"
testFace Security_IAM_Face_Delet_DFX_0105 info102 =
"
+
JSON
.
stringify
(
data
))
console
.
info
(
"
testFace Security_IAM_Face_Delet_DFX_0105 delCredresult =
"
+
data
.
delCredresult
);
console
.
info
(
"
testFace Face_Delet_DFX_0105 ResultCode.FAIL =
"
+
ResultCode
.
Authfail
);
expect
(
ResultCode
.
Authfail
).
assertEqual
(
info102
.
delCredresult
);
console
.
info
(
"
testFace Face_Delet_DFX_0105 ResultCode.FAIL =
"
+
ResultCode
.
GENERAL_ERROR
);
expect
(
ResultCode
.
GENERAL_ERROR
).
assertEqual
(
info102
.
delCredresult
);
publicFC
.
publicauth
(
UserAuth
,
challenge
,
AuthType
.
FACE
,
AuthTurstLevel
.
ATL1
,
function
(
data
){
let
info101
=
data
console
.
info
(
"
testFace Security_IAM_Face_Delet_DFX_0105 info101 =
"
+
JSON
.
stringify
(
data
))
...
...
@@ -406,62 +353,6 @@ describe('userauthTest', function () {
}
})
/*
* @tc.number : Security_IAM_Face_Auth_DFX_0104
* @tc.name : Auth face after delete pin
* @tc.size : MediumTest
* @tc.type : Function
* @tc.level : Level 4
*/
it
(
'
Security_IAM_Face_Auth_DFX_0104
'
,
4
,
async
function
(
done
)
{
try
{
publicFC
.
publicRegisterInputer
(
PinAuth
,
AuthSubType
.
PIN_SIX
,
Inputerdata
)
publicFC
.
publicOpenSession
(
UserIDM
,
function
(
data
)
{
let
challenge
=
data
console
.
info
(
"
Security_IAM_Face_Auth_DFX_0104 challenge =
"
+
challenge
)
publicFC
.
publicaddCredential
(
UserIDM
,
CredentialInfopinsix
,
function
(
data
)
{
publicFC
.
publicauth
(
UserAuth
,
challenge
,
AuthType
.
PIN
,
AuthTurstLevel
.
ATL1
,
function
(
data
)
{
let
info101
=
data
console
.
info
(
"
Security_IAM_Face_Auth_DFX_0104 info101 =
"
+
JSON
.
stringify
(
data
))
let
token
=
info101
.
authextr
.
token
CredentialInfoface2d
.
token
=
token
console
.
info
(
"
Security_IAM_Face_Auth_DFX_0104 token =
"
+
token
)
publicFC
.
publicaddCredential
(
UserIDM
,
CredentialInfoface2d
,
function
(
data
)
{
let
addfaceresult
=
data
console
.
info
(
"
Security_IAM_Face_Auth_DFX_0104 addfaceresult =
"
+
JSON
.
stringify
(
data
))
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
addfaceresult
.
addCredresult
);
publicFC
.
publicdelUser
(
UserIDM
,
token
,
function
(
data
)
{
let
deluserresult
=
data
.
delUserresult
console
.
info
(
"
Security_IAM_Face_Auth_DFX_0104 deluserresult =
"
+
deluserresult
)
publicFC
.
publicauth
(
UserAuth
,
challenge
,
AuthType
.
FACE
,
AuthTurstLevel
.
ATL1
,
function
(
data
)
{
let
info102
=
data
;
console
.
info
(
"
Security_IAM_Face_Auth_DFX_0104 info102 =
"
+
JSON
.
stringify
(
data
))
expect
(
ResultCode
.
FAIL
).
assertEqual
(
info102
.
authresult
);
publicFC
.
publicCloseSession
(
UserIDM
,
function
(
data
)
{
console
.
info
(
"
Security_IAM_Face_Auth_DFX_0104 closesession =
"
+
data
)
publicFC
.
publicunRegisterInputer
(
PinAuth
,
function
(
data
)
{
console
.
info
(
"
Security_IAM_Face_Auth_DFX_0104 unRegist =
"
+
data
)
done
();
})
})
},
function
(
data
)
{
})
},
function
(
data
)
{
})
},
function
(
data
)
{
})
},
function
(
data
)
{
})
},
function
(
data
)
{
})
})
}
catch
(
e
)
{
console
.
log
(
"
Security_IAM_Face_Auth_DFX_0104 fail
"
+
e
);
expect
(
null
).
assertFail
();
}
})
/*
* @tc.number : Security_IAM_Face_AddCred_DFX_0101
* @tc.name : Can't add face by old token
...
...
@@ -558,9 +449,9 @@ describe('userauthTest', function () {
let
wrongtoken
=
token
+
'
wrong
'
;
publicFC
.
publicdelCred
(
UserIDM
,
credentialId
,
wrongtoken
,
function
(
data
)
{
console
.
info
(
'
testFace Face_Delet_DFX_0101 del=
'
+
JSON
.
stringify
(
data
));
console
.
info
(
'
testFace Face_Delet_DFX_0101 ResultCode.FAIL=
'
+
ResultCode
.
FAIL
);
console
.
info
(
'
testFace Face_Delet_DFX_0101 ResultCode.FAIL=
'
+
ResultCode
.
GENERAL_ERROR
);
delcredresult
=
data
;
expect
(
ResultCode
.
Authfail
).
assertEqual
(
delcredresult
.
delCredresult
);
expect
(
ResultCode
.
GENERAL_ERROR
).
assertEqual
(
delcredresult
.
delCredresult
);
publicFC
.
publicdelUser
(
UserIDM
,
token
,
function
(
data
)
{
console
.
info
(
'
Face_Delet_DFX_0101 delUser=
'
+
JSON
.
stringify
(
data
));
publicFC
.
publicCloseSession
(
UserIDM
,
function
(
data
)
{
...
...
useriam/face_auth/js_api_test/function_test/userauthpart2/entry/src/main/js/test/Security_IAM_Face_Func_CallbackJsunit.test.js
浏览文件 @
7e76bf46
...
...
@@ -147,22 +147,16 @@ describe('userauthTest', function () {
publicFC
.
publicaddCredential
(
UserIDM
,
CredentialInfoface2d
,
function
(
onresult
)
{
console
.
info
(
'
Face_AddCred_Func_0101 addCredential Result2=
'
+
JSON
.
stringify
(
onresult
));
addfaceresult
=
onresult
;
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
addfaceresult
.
addCredresult
);
expect
(
ResultCode
.
FAIL
).
assertEqual
(
addfaceresult
.
addCredresult
);
publicFC
.
publicauth
(
UserAuth
,
challenge
,
AuthType
.
FACE
,
AuthTurstLevel
.
ATL1
,
function
(
data
)
{
console
.
info
(
'
testFace Face_AddCred_Func_0101 onResult =
'
+
JSON
.
stringify
(
data
));
let
faceauth101
=
data
;
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
faceauth101
.
authresult
);
expect
(
ResultCode
.
FAIL
).
assertEqual
(
faceauth101
.
authresult
);
publicFC
.
publicauthUser
(
UserAuth
,
userID
.
User1
,
challenge
,
AuthType
.
FACE
,
AuthTurstLevel
.
ATL1
,
function
(
data
)
{
console
.
info
(
'
testFace Face_AddCred_Func_0101 onResult=
'
+
JSON
.
stringify
(
data
));
faceauth101
=
data
;
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
faceauth101
.
authresult
);
let
credentialId
=
addfaceresult
.
credentialId
;
let
delcredresult
;
publicFC
.
publicdelCred
(
UserIDM
,
credentialId
,
token
,
function
(
data
)
{
console
.
info
(
'
testFace Face_AddCred_Func_0101 del=
'
+
JSON
.
stringify
(
data
));
delcredresult
=
data
;
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
delcredresult
.
delCredresult
);
expect
(
ResultCode
.
FAIL
).
assertEqual
(
faceauth101
.
authresult
);
publicFC
.
publicdelUser
(
UserIDM
,
token
,
function
(
data
)
{
console
.
info
(
'
Face_AddCred_Func_0101 delUser=
'
+
JSON
.
stringify
(
data
));
publicFC
.
publicCloseSession
(
UserIDM
,
function
(
data
)
{
...
...
@@ -174,8 +168,6 @@ describe('userauthTest', function () {
})
},
function
(
data
)
{
})
},
function
(
onacquireinfo
)
{
})
},
function
(
onacquireinfo
)
{
})
},
function
(
onacquireinfo
)
{
...
...
@@ -225,7 +217,7 @@ describe('userauthTest', function () {
await
sleep
(
2500
);
if
(
cancelresult
==
1
){
console
.
info
(
'
Face_AddCred_Func_0103 cancel1 authresult =
'
+
addfaceresult
.
addCredresult
);
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
addfaceresult
.
addCredresult
);
expect
(
ResultCode
.
FAIL
).
assertEqual
(
addfaceresult
.
addCredresult
);
}
else
if
(
cancelresult
==
0
){
console
.
info
(
'
Face_AddCred_Func_0103 cancel0 authresult =
'
+
addfaceresult
.
addCredresult
);
expect
(
ResultCode
.
CANCELED
).
assertEqual
(
addfaceresult
.
addCredresult
);
...
...
@@ -284,7 +276,7 @@ describe('userauthTest', function () {
publicFC
.
publicdelCred
(
UserIDM
,
credentialId
,
token1
,
function
(
data
)
{
console
.
info
(
'
testFace Face_AddCred_Func_0102 publicdelCred=
'
+
JSON
.
stringify
(
data
));
delcredresult
=
data
;
expect
(
ResultCode
.
Authfail
).
assertEqual
(
delcredresult
.
delCredresult
);
expect
(
ResultCode
.
GENERAL_ERROR
).
assertEqual
(
delcredresult
.
delCredresult
);
publicFC
.
publicdelUser
(
UserIDM
,
token
,
function
(
data
)
{
console
.
info
(
'
testFace Face_AddCred_Func_0102 delUser=
'
+
JSON
.
stringify
(
data
));
publicFC
.
publicCloseSession
(
UserIDM
,
function
(
data
)
{
...
...
useriam/face_auth/js_api_test/function_test/userauthpart2/entry/src/main/js/test/Security_IAM_Interface_DFX_CallbackJsunit.test.js
浏览文件 @
7e76bf46
...
...
@@ -390,7 +390,7 @@ function delcrederror(inputer,done){
publicFC
.
publicdelCred
(
UserIDM
,
inputer
,
inputer
,
function
(
data
)
{
console
.
info
(
'
testFace delcrederror del=
'
+
JSON
.
stringify
(
data
));
delcredresult
=
data
;
expect
(
ResultCode
.
Authfail
).
assertEqual
(
delcredresult
.
delCredresult
);
expect
(
ResultCode
.
GENERAL_ERROR
).
assertEqual
(
delcredresult
.
delCredresult
);
publicFC
.
publicdelUser
(
UserIDM
,
token
,
function
(
data
)
{
console
.
info
(
'
delcrederror delUser=
'
+
JSON
.
stringify
(
data
));
publicFC
.
publicCloseSession
(
UserIDM
,
function
(
data
)
{
...
...
useriam/face_auth/js_api_test/function_test/userauthpart2/entry/src/main/js/test/Security_IAM_PIN_Kit_CallbackJsunit.test.js
浏览文件 @
7e76bf46
...
...
@@ -210,82 +210,6 @@ describe('userauthTest', function () {
}
})
/*
* @tc.number : Security_IAM_PIN_Kit_Func_0103
* @tc.name : Kit interface auth and cancel auth
* @tc.size : MediumTest
* @tc.type : Function
* @tc.level : Level 0
*/
it
(
'
Security_IAM_PIN_Kit_Func_0103
'
,
0
,
async
function
(
done
)
{
try
{
publicFC
.
publicRegisterInputer
(
PinAuth
,
AuthSubType
.
PIN_SIX
,
Inputerdata
)
let
challenge
;
publicFC
.
publicOpenSession
(
UserIDM
,
function
(
data
)
{
console
.
info
(
'
AuthTest_0101 openSession challenge =
'
+
data
);
challenge
=
data
;
publicFC
.
publicaddCredential
(
UserIDM
,
CredentialInfopinsix
,
function
(
onresult
)
{
console
.
info
(
'
AuthTest_0101 addCredential Result1 =
'
+
JSON
.
stringify
(
onresult
));
let
info101
;
publicFC
.
publicauth
(
UserAuth
,
challenge
,
AuthType
.
PIN
,
AuthTurstLevel
.
ATL1
,
function
(
data
)
{
console
.
info
(
'
AuthTest_0101 auth onResult =
'
+
JSON
.
stringify
(
data
));
info101
=
data
;
let
token
=
info101
.
authextr
.
token
;
CredentialInfoface2d
.
token
=
token
;
let
addfaceresult
;
publicFC
.
publicaddCredential
(
UserIDM
,
CredentialInfoface2d
,
function
(
onresult
)
{
console
.
info
(
'
AuthTest_0101 addCredential Result2=
'
+
JSON
.
stringify
(
onresult
));
addfaceresult
=
onresult
;
console
.
info
(
'
AuthTest_0101 publicaddCredential =
'
+
addfaceresult
.
addCredresult
);
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
addfaceresult
.
addCredresult
);
publicFC
.
publicauth
(
UserAuthKit
,
challenge
,
AuthType
.
FACE
,
10000
,
async
function
(
data
)
{
let
faceauth101
=
data
;
console
.
info
(
'
AuthTest_0101 publicauth =
'
+
faceauth101
.
authresult
);
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
faceauth101
.
authresult
);
let
authresult
;
let
contextID
=
await
publicFC
.
publicauth
(
UserAuthKit
,
challenge
,
AuthType
.
FACE
,
10000
,
function
(
data
)
{
console
.
info
(
'
AuthTest_0101 addCredential Result2=
'
+
JSON
.
stringify
(
data
.
authresult
));
authresult
=
data
.
authresult
;
},
function
(
onacquireinfo
)
{
})
let
cancelresult
=
publicFC
.
publicgecancelAuth
(
UserAuthKit
,
contextID
);
await
sleep
(
2000
);
if
(
cancelresult
==
1
){
console
.
info
(
'
AuthTest_0101 cancel = 1 authresult =
'
+
authresult
);
expect
(
ResultCode
.
SUCCESS
).
assertEqual
(
authresult
);
}
else
if
(
cancelresult
==
0
){
console
.
info
(
'
AuthTest_0101 cancel = 0 authresult =
'
+
authresult
);
console
.
info
(
'
AuthTest_0101 cancel = 0 ResultCode.FAIL =
'
+
ResultCode
.
FAIL
);
expect
(
ResultCode
.
CANCELED
).
assertEqual
(
authresult
);
}
console
.
info
(
'
testFace AuthTest_0101 onResult =
'
+
JSON
.
stringify
(
data
));
await
publicFC
.
publicdelUser
(
UserIDM
,
token
,
function
(
data
)
{
console
.
info
(
'
AuthTest_0101 delUser =
'
+
JSON
.
stringify
(
data
));
publicFC
.
publicCloseSession
(
UserIDM
,
function
(
data
)
{
console
.
info
(
'
AuthTest_0101 closeSession
'
);
publicFC
.
publicunRegisterInputer
(
PinAuth
,
function
(
data
)
{
console
.
info
(
'
AuthTest_0101 unRegister
'
);
done
();
})
})
},
function
(
onacquireinfo
)
{
})
},
function
(
onacquireinfo
)
{
})
},
function
(
onacquireinfo
)
{
})
},
function
(
data
)
{
})
},
function
(
onacquireinfo
)
{
})
})
}
catch
(
e
)
{
console
.
log
(
"
AuthTest_0101 fail
"
+
e
);
expect
(
null
).
assertFail
();
}
})
/*
* @tc.number : Security_IAM_PIN_Kit_Func_0104
* @tc.name : Kit interface enum AuthTrustLevel
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录