Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
3b06f0fb
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看板
提交
3b06f0fb
编写于
2月 17, 2023
作者:
L
liushuling
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
XTS 适配挑单
Signed-off-by:
N
liushuling
<
liushuling1@huawei.com
>
上级
be1d602e
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
8 addition
and
8 deletion
+8
-8
account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountCheck.test.js
...untthirdpartytest/src/main/js/test/OsAccountCheck.test.js
+2
-2
account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountIs.test.js
...ccountthirdpartytest/src/main/js/test/OsAccountIs.test.js
+6
-6
未找到文件。
account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountCheck.test.js
浏览文件 @
3b06f0fb
...
...
@@ -298,7 +298,7 @@ export default function ActsOsAccountThirdPartyTest_third_3() {
console
.
debug
(
"
====>checkOsAccountVerified err:
"
+
JSON
.
stringify
(
err
));
console
.
debug
(
"
====>checkOsAccountVerified data:
"
+
data
);
expect
(
err
).
assertEqual
(
null
);
expect
(
data
).
assertEqual
(
fals
e
);
expect
(
data
).
assertEqual
(
tru
e
);
console
.
debug
(
"
====>ActsOsAccountCheckVerified_0100 end====
"
);
done
();
})
...
...
@@ -315,7 +315,7 @@ export default function ActsOsAccountThirdPartyTest_third_3() {
console
.
debug
(
"
====>get os AccountManager finish====
"
);
var
checkOsAccountVerified
=
await
AccountManager
.
checkOsAccountVerified
();
console
.
debug
(
"
====>checkOsAccountVerified data:
"
+
JSON
.
stringify
(
checkOsAccountVerified
));
expect
(
checkOsAccountVerified
).
assertEqual
(
fals
e
);
expect
(
checkOsAccountVerified
).
assertEqual
(
tru
e
);
console
.
debug
(
"
====>ActsOsAccountCheckVerified_0200 end====
"
);
done
();
})
...
...
account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountIs.test.js
浏览文件 @
3b06f0fb
...
...
@@ -287,7 +287,7 @@ export default function ActsOsAccountThirdPartyTest_third_1() {
console
.
debug
(
"
====>isOsAccountVerified err:
"
+
JSON
.
stringify
(
err
));
console
.
debug
(
"
====>isOsAccountVerified data:
"
+
data
);
expect
(
err
).
assertEqual
(
null
);
expect
(
data
).
assertEqual
(
fals
e
);
expect
(
data
).
assertEqual
(
tru
e
);
console
.
debug
(
"
====>ActsOsAccountVerified_0100 end====
"
);
done
();
})
...
...
@@ -304,7 +304,7 @@ export default function ActsOsAccountThirdPartyTest_third_1() {
console
.
debug
(
"
====>get os AccountManager finish====
"
);
var
isVerified
=
await
AccountManager
.
isOsAccountVerified
();
console
.
debug
(
"
====>isOsAccountVerified data:
"
+
isVerified
);
expect
(
isVerified
).
assertEqual
(
fals
e
);
expect
(
isVerified
).
assertEqual
(
tru
e
);
console
.
debug
(
"
====>ActsOsAccountVerified_0200 end====
"
);
done
();
})
...
...
@@ -356,7 +356,7 @@ export default function ActsOsAccountThirdPartyTest_third_1() {
console
.
debug
(
"
====>error received callback====
"
);
console
.
debug
(
"
====>receive isOsAccountVerified err:
"
+
JSON
.
stringify
(
err
));
expect
(
err
).
assertEqual
(
null
);
expect
(
data
).
assertEqual
(
fals
e
);
expect
(
data
).
assertEqual
(
tru
e
);
console
.
debug
(
"
====>receive isOsAccountVerified data:
"
+
JSON
.
stringify
(
data
));
done
();
})
...
...
@@ -373,7 +373,7 @@ export default function ActsOsAccountThirdPartyTest_third_1() {
console
.
debug
(
"
====>get os AccountManager finish====
"
);
var
localIdStr
=
"
100
"
;
AccountManager
.
isOsAccountVerified
(
localIdStr
).
then
((
data
)
=>
{
expect
(
data
).
assertEqual
(
fals
e
);
//
expect
(
data
).
assertEqual
(
tru
e
);
//
console
.
debug
(
"
====>ActsOsAccountIsVerified_0600 end====
"
);
done
();
}).
catch
((
err
)
=>
{
...
...
@@ -397,7 +397,7 @@ export default function ActsOsAccountThirdPartyTest_third_1() {
console
.
debug
(
"
====>ActsOsAccountIsVerified_0700 isOsAccountVerified_err:
"
+
JSON
.
stringify
(
err
))
expect
(
err
).
assertEqual
(
null
);
console
.
debug
(
"
====>ActsOsAccountIsVerified_0700 isOsAccountVerified_data:
"
+
JSON
.
stringify
(
data
))
expect
(
data
).
assertEqual
(
fals
e
)
expect
(
data
).
assertEqual
(
tru
e
)
console
.
debug
(
"
====>ActsOsAccountIsVerified_0700 end====
"
);
done
();
});
...
...
@@ -415,7 +415,7 @@ export default function ActsOsAccountThirdPartyTest_third_1() {
var
localIdUndefined
=
undefined
;
AccountManager
.
isOsAccountVerified
(
localIdUndefined
).
then
((
data
)
=>
{
console
.
debug
(
"
====>ActsOsAccountIsVerified_0800 isOsAccountVerified_data:
"
+
JSON
.
stringify
(
data
))
expect
(
data
).
assertEqual
(
fals
e
)
expect
(
data
).
assertEqual
(
tru
e
)
console
.
debug
(
"
====>ActsOsAccountIsVerified_0700 end====
"
);
done
();
}).
catch
((
err
)
=>
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录