Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
5639361c
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看板
提交
5639361c
编写于
4月 10, 2023
作者:
Z
zhaimengchao
1
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
【Account】【Master】Case execution duration optimization and Interface Changes
Signed-off-by:
N
zhaimengchao
<
zhaimengchao@huawei.com
>
上级
b2277c74
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
18 addition
and
21 deletion
+18
-21
account/appaccount/actsaccountoperatetest/src/main/js/test/Authenticator.test.js
...accountoperatetest/src/main/js/test/Authenticator.test.js
+6
-6
account/appaccount/actsaccounttest/src/main/js/test/Authenticator.test.js
...nt/actsaccounttest/src/main/js/test/Authenticator.test.js
+10
-14
account/osaccount/actsosaccountthirdpartytest/Test.json
account/osaccount/actsosaccountthirdpartytest/Test.json
+2
-1
未找到文件。
account/appaccount/actsaccountoperatetest/src/main/js/test/Authenticator.test.js
浏览文件 @
5639361c
...
...
@@ -45,8 +45,8 @@ export default function ActsAccountAppAccess() {
});
beforeEach
(
async
(
done
)
=>
{
console
.
debug
(
"
====>afterEach start====
"
);
var
appAccountManager
=
account
.
get
AccountManager
();
var
accounts
=
await
appAccountManager
.
getA
llAccount
ByOwner
(
owner
)
var
appAccountManager
=
account
.
createApp
AccountManager
();
var
accounts
=
await
appAccountManager
.
getA
ccounts
ByOwner
(
owner
)
for
(
var
i
=
0
;
i
<
accounts
.
length
;
i
++
){
var
localName
=
accounts
[
i
].
name
if
(
localName
==
'
zhangsan
'
){
...
...
@@ -733,8 +733,8 @@ export default function ActsAccountAppAccess() {
onRequestRedirected
:
null
,
onRequestContinued
:
function
(){
console
.
debug
(
"
====>ActsAccountCreateAccountImplicitly_0100 onRequestContinued
"
)
}
});
}
});
});
/*
...
...
@@ -759,8 +759,8 @@ export default function ActsAccountAppAccess() {
onRequestRedirected
:
null
,
onRequestContinued
:
function
(){
console
.
debug
(
"
====>ActsAccountCreateAccountImplicitly_0200 onRequestContinued
"
)
}
});
}
});
});
})
}
\ No newline at end of file
account/appaccount/actsaccounttest/src/main/js/test/Authenticator.test.js
浏览文件 @
5639361c
...
...
@@ -24,7 +24,7 @@ export default function ActsAccountAuthenticator() {
describe
(
'
ActsAccountAuthenticator
'
,
function
()
{
beforeAll
(
async
function
(
done
)
{
console
.
debug
(
"
====>accountauthenticatorbeforeAll start====
"
);
await
featureAbility
.
startAbility
(
await
featureAbility
.
startAbility
ForResult
(
{
want
:
{
...
...
@@ -44,8 +44,8 @@ export default function ActsAccountAuthenticator() {
});
beforeEach
(
async
function
(
done
)
{
console
.
debug
(
"
====>afterEach start====
"
);
var
appAccountManager
=
account
.
get
AccountManager
();
var
accounts
=
await
appAccountManager
.
getA
llAccount
ByOwner
(
owner
)
var
appAccountManager
=
account
.
createApp
AccountManager
();
var
accounts
=
await
appAccountManager
.
getA
ccounts
ByOwner
(
owner
)
for
(
var
i
=
0
;
i
<
accounts
.
length
;
i
++
){
var
localName
=
accounts
[
i
].
name
if
(
localName
==
'
zhangsan
'
){
...
...
@@ -76,7 +76,7 @@ export default function ActsAccountAuthenticator() {
expect
(
err
).
assertEqual
(
null
);
console
.
debug
(
"
====>ActsAccountCheckAccountLabels_0100 end====
"
);
done
();
})
})
});
});
});
...
...
@@ -134,11 +134,9 @@ export default function ActsAccountAuthenticator() {
console
.
debug
(
"
====>ActsAccountCheckAccountLabels_0300 end====
"
);
done
();
})
});
});
});
});
/*
* @tc.number : ActsAccountCheckAccountLabels_0400
...
...
@@ -665,7 +663,6 @@ export default function ActsAccountAuthenticator() {
});
});
/*
* @tc.number : ActsAccountSelectAccountByOptions_0100
* @tc.name : Verify Credential callback form
...
...
@@ -692,14 +689,13 @@ export default function ActsAccountAuthenticator() {
appAccountManager
.
deleteAccount
(
name
)
console
.
debug
(
'
====>ActsAccountSelectAccountByOptions_0300 deleteAccount_success
'
)
done
();
}
}
catch
{
console
.
debug
(
'
====>ActsAccountSelectAccountByOptions_0300 deleteAccount_err
'
)
expect
().
assertFail
()
done
();
}
});
});
}
});
});
})
}
\ No newline at end of file
}
account/osaccount/actsosaccountthirdpartytest/Test.json
浏览文件 @
5639361c
...
...
@@ -5,7 +5,8 @@
"test-timeout"
:
"300000"
,
"bundle-name"
:
"com.example.actsosaccountthirdpartytest"
,
"package-name"
:
"com.example.actsosaccountthirdpartytest"
,
"shell-timeout"
:
"60000"
"shell-timeout"
:
"60000"
,
"testcase-timeout"
:
"100000"
},
"kits"
:
[
{
...
...
鸿蒙社区
@harmonycommunity
mentioned in commit
2fe4585a
·
4月 15, 2023
mentioned in commit
2fe4585a
mentioned in commit 2fe4585a0a162bd9518a882136fbdec124cecd88
开关提交列表
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录