Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
73343b5a
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看板
提交
73343b5a
编写于
3月 01, 2022
作者:
G
gaoxi785
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Modify test case timeout and adjust errorcode
Signed-off-by:
N
gaoxi785
<
gaoxi785@huawei.com
>
上级
9d65c217
变更
6
展开全部
隐藏空白更改
内联
并排
Showing
6 changed file
with
4 addition
and
919 deletion
+4
-919
account/appaccount/actsaccounttest/entry/src/main/js/test/List.test.js
...count/actsaccounttest/entry/src/main/js/test/List.test.js
+0
-1
account/appaccount/actsaccounttest/entry/src/main/js/test/NoPermission.test.js
...tsaccounttest/entry/src/main/js/test/NoPermission.test.js
+1
-1
account/appaccount/actsaccounttest/entry/src/main/js/test/OAuthToken.test.js
...actsaccounttest/entry/src/main/js/test/OAuthToken.test.js
+0
-914
account/osaccount/actsosaccountsystemtest/Test.json
account/osaccount/actsosaccountsystemtest/Test.json
+1
-1
account/osaccount/actsosaccountthirdpartytest/Test.json
account/osaccount/actsosaccountthirdpartytest/Test.json
+1
-1
account/osaccount/actsosaccountthirdpartytest/entry/src/main/js/default/pages/index/index.js
...dpartytest/entry/src/main/js/default/pages/index/index.js
+1
-1
未找到文件。
account/appaccount/actsaccounttest/entry/src/main/js/test/List.test.js
浏览文件 @
73343b5a
...
...
@@ -18,7 +18,6 @@ require('./AppAccess.test.js')
require
(
'
./ExtraInfo.test.js
'
)
require
(
'
./AssociatedData.test.js
'
)
require
(
'
./Credential.test.js
'
)
require
(
'
./OAuthToken.test.js
'
)
require
(
'
./CreatManager.test.js
'
)
require
(
'
./NoPermission.test.js
'
)
require
(
'
./OnOff.js
'
)
\ No newline at end of file
account/appaccount/actsaccounttest/entry/src/main/js/test/NoPermission.test.js
浏览文件 @
73343b5a
...
...
@@ -16,7 +16,7 @@ import account from '@ohos.account.appAccount'
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
'
deccjsunit/index
'
const
TIMEOUT
=
5000
;
const
ERR_APPACCOUNT_SERVICE_PERMISSION_DENIED
=
452199
2
;
const
ERR_APPACCOUNT_SERVICE_PERMISSION_DENIED
=
452199
3
;
describe
(
'
ActsAccountNoPermission
'
,
function
()
{
function
sleep
(
delay
)
{
var
start
=
(
new
Date
()).
getTime
();
...
...
account/appaccount/actsaccounttest/entry/src/main/js/test/OAuthToken.test.js
已删除
100755 → 0
浏览文件 @
9d65c217
此差异已折叠。
点击以展开。
account/osaccount/actsosaccountsystemtest/Test.json
浏览文件 @
73343b5a
...
...
@@ -2,7 +2,7 @@
"description"
:
"Configuration for hjunit demo Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"1
0
00000"
,
"test-timeout"
:
"1
5
00000"
,
"package"
:
"com.example.actsosaccountsystemtest"
,
"shell-timeout"
:
"60000"
},
...
...
account/osaccount/actsosaccountthirdpartytest/Test.json
浏览文件 @
73343b5a
...
...
@@ -2,7 +2,7 @@
"description"
:
"Configuration for hjunit demo Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"
2
00000"
,
"test-timeout"
:
"
3
00000"
,
"package"
:
"com.example.actsosaccountthirdpartytest"
,
"shell-timeout"
:
"60000"
},
...
...
account/osaccount/actsosaccountthirdpartytest/entry/src/main/js/default/pages/index/index.js
浏览文件 @
73343b5a
...
...
@@ -35,7 +35,7 @@ export default {
core
.
init
()
const
configService
=
core
.
getDefaultService
(
'
config
'
)
this
.
timeout
=
15
000
;
this
.
timeout
=
40
000
;
configService
.
setConfig
(
this
)
require
(
'
../../../test/List.test
'
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录